<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/popen.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/popen.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/popen.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>Add framework for resolving (pun intended) libc namespace issues, using</title>
<updated>2015-08-31T02:53:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-08-31T02:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b9d2a55a62c8e82206c25f94fcc7f4e2765250e'/>
<id>urn:sha1:9b9d2a55a62c8e82206c25f94fcc7f4e2765250e</id>
<content type='text'>
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT.  Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h.  Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@
</content>
</entry>
<entry>
<title>Move to the &lt;limits.h&gt; universe.</title>
<updated>2015-01-16T16:48:51Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-16T16:48:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aea60bee5e9bad0aab62f480f19c2fb34c068de4'/>
<id>urn:sha1:aea60bee5e9bad0aab62f480f19c2fb34c068de4</id>
<content type='text'>
review by millert, binary checking process with doug, concept with guenther
</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>make popen/pclose thread safe. closes library/5634. from and okay andreas@</title>
<updated>2007-11-26T19:26:46Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2007-11-26T19:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=904914416c46745b22499c17596c166481cbd9ff'/>
<id>urn:sha1:904914416c46745b22499c17596c166481cbd9ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zap remaining rcsid.</title>
<updated>2005-08-08T08:05:33Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2005-08-08T08:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c2c925dec2134a12f472359f2a189e9a312dd721'/>
<id>urn:sha1:c2c925dec2134a12f472359f2a189e9a312dd721</id>
<content type='text'>
Kill old files that are no longer compiled.

okay theo
</content>
</entry>
<entry>
<title>deregister (and deauto!). ok millert@ marco@</title>
<updated>2005-03-25T15:38:46Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2005-03-25T15:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=80647cb220073a44744ffceb40949df873373019'/>
<id>urn:sha1:80647cb220073a44744ffceb40949df873373019</id>
<content type='text'>
</content>
</entry>
<entry>
<title>in pclose(), only fclose() a stream if it has been opened by popen(), so</title>
<updated>2004-08-06T18:31:11Z</updated>
<author>
<name>pedro</name>
<email>pedro@openbsd.org</email>
</author>
<published>2004-08-06T18:31:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e272fe107abb0c204257fe8dd54288a0bb00add4'/>
<id>urn:sha1:e272fe107abb0c204257fe8dd54288a0bb00add4</id>
<content type='text'>
that applications doing: 'ok = (pclose(f) != -1) || (fclose(f) == 0)'
can work safely and avoid a double-close of a stream. ok millert@
</content>
</entry>
<entry>
<title>ansify function definitions and zap some `register'</title>
<updated>2004-05-18T02:05:52Z</updated>
<author>
<name>jfb</name>
<email>jfb@openbsd.org</email>
</author>
<published>2004-05-18T02:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=73b3e3c43784cb5fd04439d34c7436bbf85871db'/>
<id>urn:sha1:73b3e3c43784cb5fd04439d34c7436bbf85871db</id>
<content type='text'>
ok millert@
</content>
</entry>
<entry>
<title>Remove the advertising clause in the UCB license which Berkeley</title>
<updated>2003-06-02T20:18:29Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2003-06-02T20:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6580fee3295c971a919cc04bfc3598c5f8bcd2b1'/>
<id>urn:sha1:6580fee3295c971a919cc04bfc3598c5f8bcd2b1</id>
<content type='text'>
rescinded 22 July 1999.  Proofed by myself and Theo.
</content>
</entry>
</feed>
