<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/nlist.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/nlist.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/nlist.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>The fd used by nlist() isn't application visible, so mark it close-on-exec</title>
<updated>2019-05-13T17:18:10Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-05-13T17:18:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fde371e9c20fe5bafd35baf39be166d18704cbd7'/>
<id>urn:sha1:fde371e9c20fe5bafd35baf39be166d18704cbd7</id>
<content type='text'>
to avoid leaking it

ok deraadt@
</content>
</entry>
<entry>
<title>Use &lt;elf.h&gt; instead of &lt;elf_abi.h&gt;</title>
<updated>2017-10-27T16:47:08Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-10-27T16:47:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e9d517b1e47ed28b70d01d46036c19aeb960f8b0'/>
<id>urn:sha1:e9d517b1e47ed28b70d01d46036c19aeb960f8b0</id>
<content type='text'>
ok jasper@, jca@, deraadt@
</content>
</entry>
<entry>
<title>gcc says "if you define labels and don't use them, I will whine."</title>
<updated>2016-12-25T20:30:41Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2016-12-25T20:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed928af3c9673febb8506eea219dc79bdd9e9c22'/>
<id>urn:sha1:ed928af3c9673febb8506eea219dc79bdd9e9c22</id>
<content type='text'>
ok tom@
</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>Verify that the section header size supplied in the ELF header is what</title>
<updated>2015-12-29T22:31:21Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-12-29T22:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=68b4c4ed93459493c36d44e0747067e3628ed53f'/>
<id>urn:sha1:68b4c4ed93459493c36d44e0747067e3628ed53f</id>
<content type='text'>
we expect it to be. This prevents out-of-bounds access or excessive
memory allocation on a malformed ELF header.

Found by Serguey Parkhomovsky with AFL. Improved by and ok kettenis@
</content>
</entry>
<entry>
<title>Check file sizes only for regular files. The current code breaks savecore</title>
<updated>2015-10-16T16:54:38Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2015-10-16T16:54:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1b9417bb627d90cee2fed3f82e34d8d0524f485b'/>
<id>urn:sha1:1b9417bb627d90cee2fed3f82e34d8d0524f485b</id>
<content type='text'>
due to its kvm handling.

ok deraadt
</content>
</entry>
<entry>
<title>Merge nlist out of boundary access fix with other nlist implementations.</title>
<updated>2015-10-16T13:54:45Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2015-10-16T13:54:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4497e20808fcf8a7ec1b3b5c697ae9b85db6a4f8'/>
<id>urn:sha1:4497e20808fcf8a7ec1b3b5c697ae9b85db6a4f8</id>
<content type='text'>
While at it, merge style and typo fixes back into nlist(3), too.

ok deraadt, jsing, millert
</content>
</entry>
<entry>
<title>Validate parsed ELF values to prevent out of boundary accesses.</title>
<updated>2015-10-16T07:40:12Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2015-10-16T07:40:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e239ecc1fd518311e4a4fd95ecaeb245f5ed9230'/>
<id>urn:sha1:e239ecc1fd518311e4a4fd95ecaeb245f5ed9230</id>
<content type='text'>
While at it, return proper return value when encountering a stripped
binary. Instead of -1 (illegal file), it should be the amount of symbols
that were tried to be resolved.

ok millert
</content>
</entry>
<entry>
<title>__fdnlist() is exported for libkvm, but the internal call can go direct</title>
<updated>2015-10-04T06:59:57Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-04T06:59:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4f7ac3dd208cc2a8c4ef2a5af26fd98708730782'/>
<id>urn:sha1:4f7ac3dd208cc2a8c4ef2a5af26fd98708730782</id>
<content type='text'>
</content>
</entry>
</feed>
