<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/posix_spawn.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/posix_spawn.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/posix_spawn.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:32:41Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>environ and __progname are not declared in a public header; declare them</title>
<updated>2016-03-13T18:34:20Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-03-13T18:34:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e422429247bd689ad82a15ebdacdfc785b980b1d'/>
<id>urn:sha1:e422429247bd689ad82a15ebdacdfc785b980b1d</id>
<content type='text'>
in libc's hidden/stdlib.h instead of in each .c file that needs one

ok deraadt@ gsoares@ mpi@
</content>
</entry>
<entry>
<title>Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread</title>
<updated>2015-10-23T04:39:24Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-23T04:39:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5aed4d28d43eadb2b7771720ac4d094bec87d515'/>
<id>urn:sha1:5aed4d28d43eadb2b7771720ac4d094bec87d515</id>
<content type='text'>
into libc, and move pthread_sigmask() as well (just a trivial wrapper).
This provides consistent handling of SIGTHR between single- and multi-threaded
programs and is a step in the merge of all the libpthread overloads, providing
some ASM and Makefile bits that the other wrappers will need.

ok deraadt@ millert@
</content>
</entry>
<entry>
<title>Pull in namespace.h when building all .c files using gcc's -include option,</title>
<updated>2015-09-10T18:13:46Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-10T18:13:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6f98e3a163d69d2a20131b8c80e6fad49fe7683'/>
<id>urn:sha1:e6f98e3a163d69d2a20131b8c80e6fad49fe7683</id>
<content type='text'>
so that we can provide asm labels for the memcpy/memset/__stack_smash_handler
calls that it generates ab initio.  Eliminate direct #includes of it.  Make
sure it's a dependency of all objects (unnecessary for asm, but close enough).

ok deraadt@
</content>
</entry>
<entry>
<title>_NSIG is the number of valid signals including signal 0, so it's not a valid</title>
<updated>2014-11-14T23:26:34Z</updated>
<author>
<name>jmatthew</name>
<email>jmatthew@openbsd.org</email>
</author>
<published>2014-11-14T23:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10f1a6de12fc630aec75de181ded7f0b59d70566'/>
<id>urn:sha1:10f1a6de12fc630aec75de181ded7f0b59d70566</id>
<content type='text'>
signal number itself.  Attempting to reset the signal action for it causes
posix_spawn to fail, making the POSIX_SPAWN_SETSIGDEF flag unusable.

ok guenther@
</content>
</entry>
<entry>
<title>Fix previous commit: fd wasn't set in the FAE_DUP2 case</title>
<updated>2014-09-02T00:21:00Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-09-02T00:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f34865df526d46644eda50d4c32d107921a2edf5'/>
<id>urn:sha1:f34865df526d46644eda50d4c32d107921a2edf5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add additional userland interfaces for setting close-on-exec on fds</title>
<updated>2014-08-31T02:21:18Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-08-31T02:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed42a740c17f7bea88482a716bacbc46a06b7249'/>
<id>urn:sha1:ed42a740c17f7bea88482a716bacbc46a06b7249</id>
<content type='text'>
when creating them: mkostemp(), mkostemps(), the 'e' mode letter for
fopen(), freopen(), fdopen(), and popen().  The close-on-exec flag will
be cleared by the action created by posix_spawn_file_actions_adddup2().

Also, add support for the C11 'x' mode letter for fopen() and freopen(),
setting O_EXCL when possibly creating files.

Note: this requires kernel support for pipe2() and dup3()!

ok millert@
</content>
</entry>
<entry>
<title>Remove excessive sys/cdefs.h inclusion</title>
<updated>2012-12-05T23:19:48Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2012-12-05T23:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a39ccd02c887d988c1a5398dd2142879056da5f'/>
<id>urn:sha1:4a39ccd02c887d988c1a5398dd2142879056da5f</id>
<content type='text'>
ok guenther millert kettenis
</content>
</entry>
<entry>
<title>clean the sigact in a portable way; ok matthew</title>
<updated>2012-03-22T15:43:08Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2012-03-22T15:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e9b8682c3695d2f785a98f71d2e267032d9c4ea'/>
<id>urn:sha1:9e9b8682c3695d2f785a98f71d2e267032d9c4ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement execvpe(3) and posix_spawn(3) and family.  Based on</title>
<updated>2012-03-21T23:20:35Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-03-21T23:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5365c52e4979f2bb5402a87f68de42772e8cef67'/>
<id>urn:sha1:5365c52e4979f2bb5402a87f68de42772e8cef67</id>
<content type='text'>
FreeBSD's implementation via Frank Denis, with various cleanups and
tweaks by me.

ok deraadt@, guenther@; discussions and tweaks from many others
jmc@ promises to help me further with the man pages in tree
</content>
</entry>
</feed>
