<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/fts.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/fts.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/fts.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>recallocarray() the string buffer, to avoid leaving such contents</title>
<updated>2017-03-17T15:14:40Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-03-17T15:14:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10f4ce4cb041f2d65a07182678264bee0fb4eb20'/>
<id>urn:sha1:10f4ce4cb041f2d65a07182678264bee0fb4eb20</id>
<content type='text'>
around in the address space.  Don't bother doing so for the buffer
which contains aslr'd pointers...
ok millert
</content>
</entry>
<entry>
<title>Style improvement, no functional change.</title>
<updated>2017-02-15T15:58:40Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2017-02-15T15:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7120799d7f7c8de5acd19348fa172f343a06c536'/>
<id>urn:sha1:7120799d7f7c8de5acd19348fa172f343a06c536</id>
<content type='text'>
As reported by Yuri Pankov, some versions of GCC whine that "tmp"
might be used uninitialized in fts_open(3).  Clearly, that cannot
actually happen, but explicitly setting it to NULL is safer anyway.
While here, rename the badly named variable "tmp" and make the
inner "if" easier to understand.

Feedback and OK guenther@
</content>
</entry>
<entry>
<title>Delete casts to off_t and size_t that are implied by assignments</title>
<updated>2016-09-21T04:38:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-09-21T04:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3240e6a8f93e9dcb3b95e7fafb9e2b27f13c7c9d'/>
<id>urn:sha1:3240e6a8f93e9dcb3b95e7fafb9e2b27f13c7c9d</id>
<content type='text'>
or prototypes.  Ditto for some of the char* and void* casts too.

verified no change to instructions on ILP32 (i386) and LP64 (amd64)
ok natano@ abluhm@ deraadt@ millert@
</content>
</entry>
<entry>
<title>fts_open() requires that the list passed as argument to contain at least</title>
<updated>2016-06-28T17:21:48Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-06-28T17:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=35a15bab90f672da7024f7a288eef35a2f8066e9'/>
<id>urn:sha1:35a15bab90f672da7024f7a288eef35a2f8066e9</id>
<content type='text'>
one path.  When the list is empty (contain only a NULL pointer), return
EINVAL instead of pretending to succeed, which will cause a NULL pointer
deference in a later fts_read() call.  From FreeBSD.
</content>
</entry>
<entry>
<title>Do not return an error in fts_open(3) if one of the paths in argv</title>
<updated>2016-06-28T17:12:29Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-06-28T17:12:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b2969c7cce26fcf800a05bdc7ddb49f9c3ae393c'/>
<id>urn:sha1:b2969c7cce26fcf800a05bdc7ddb49f9c3ae393c</id>
<content type='text'>
is empty.  Otherwise, programs using fts(3) will report an error
if one of the paths is empty instead of just treating it as a
non-existent file.  OK guenther@
</content>
</entry>
<entry>
<title>delete old lint ARGSUSED comments</title>
<updated>2015-11-01T03:45:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-01T03:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10632a79cc0d3f2730baa9fb977894fdccb4f611'/>
<id>urn:sha1:10632a79cc0d3f2730baa9fb977894fdccb4f611</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove null check before free. from Michael McConville</title>
<updated>2015-09-14T16:09:13Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-09-14T16:09:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=183195fb2f7518b2cd4510b5b8f442268aefa790'/>
<id>urn:sha1:183195fb2f7518b2cd4510b5b8f442268aefa790</id>
<content type='text'>
ok semarie
</content>
</entry>
<entry>
<title>Wrap &lt;fts.h&gt; and &lt;ftw.h&gt; so that internal calls to fts_*() go direct and</title>
<updated>2015-09-12T13:32:24Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-12T13:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=37e71d7b4ba04018d71277380505e02261ba986d'/>
<id>urn:sha1:37e71d7b4ba04018d71277380505e02261ba986d</id>
<content type='text'>
fts_*(), ftw(), and nftw() are weak symbols
</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>
</feed>
