<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/csh/dir.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/csh/dir.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/csh/dir.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:34:58Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:34:58Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3aaa63eb46949490a39db9c6d82aacc8ee5d8551'/>
<id>urn:sha1:3aaa63eb46949490a39db9c6d82aacc8ee5d8551</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>Fix some minor issues found by coverity.</title>
<updated>2018-10-24T06:01:03Z</updated>
<author>
<name>martijn</name>
<email>martijn@openbsd.org</email>
</author>
<published>2018-10-24T06:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d95322bb7eaf29cae35b5ec04119262aa2cb0e45'/>
<id>urn:sha1:d95322bb7eaf29cae35b5ec04119262aa2cb0e45</id>
<content type='text'>
OK millert@ and miko@
</content>
</entry>
<entry>
<title>If getcwd() fails in dinit(), the stat buffer 'swd' is used</title>
<updated>2018-09-19T18:55:33Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2018-09-19T18:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8afed9311abd0daff206fc8ca25a786af2ea57ce'/>
<id>urn:sha1:8afed9311abd0daff206fc8ca25a786af2ea57ce</id>
<content type='text'>
uninitialized by the else clause.  Since it is used in both clauses
we should perform the stat before the if().  However, fixing this
causes 'cp' to be unitialized in some case so initialize cp to NULL
and move the "cp == NULL" check out of the first if() clause now
that it can be true in either case.  OK miko@ deraadt@
</content>
</entry>
<entry>
<title>Replace handrolled xfree() function by directly using free(3)</title>
<updated>2015-12-26T13:48:38Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-26T13:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=acdb32028ee917f8269a9fd16c4817e3a7408b91'/>
<id>urn:sha1:acdb32028ee917f8269a9fd16c4817e3a7408b91</id>
<content type='text'>
OK mmcc@
</content>
</entry>
<entry>
<title>delete tons more casts</title>
<updated>2015-02-08T06:09:50Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-02-08T06:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d29fd0a028ca5fa859a07b81d8a4bda5ea2b83fc'/>
<id>urn:sha1:d29fd0a028ca5fa859a07b81d8a4bda5ea2b83fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>delete many more ptr_t casts</title>
<updated>2015-02-08T05:51:37Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-02-08T05:51:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5903a35eb3d1d7e289365252c010c3ef8a40a375'/>
<id>urn:sha1:5903a35eb3d1d7e289365252c010c3ef8a40a375</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace &lt;sys/param.h&gt; with &lt;limits.h&gt; and other less dirty headers where</title>
<updated>2015-01-16T06:39:28Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-16T06:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b9fc9a728fce9c4289b7e9a992665e28d5629a54'/>
<id>urn:sha1:b9fc9a728fce9c4289b7e9a992665e28d5629a54</id>
<content type='text'>
possible.  Annotate &lt;sys/param.h&gt; lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
</content>
</entry>
<entry>
<title>Use reallocarray() and remove a few archaic memory allocation practices.</title>
<updated>2014-10-16T19:43:31Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-10-16T19:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a8627d2c40d5ed23e746aca6d869ba89c5df59e7'/>
<id>urn:sha1:a8627d2c40d5ed23e746aca6d869ba89c5df59e7</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>If a constant string needs a name, use a static const array instead</title>
<updated>2014-07-12T02:47:51Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-07-12T02:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=74c5162b37d1d9f64cd2277880f494e06f42bcae'/>
<id>urn:sha1:74c5162b37d1d9f64cd2277880f494e06f42bcae</id>
<content type='text'>
of a pointer or non-const array, as that minimizes the symbols,
maximizes the placement into read-only memory, and avoids warnings
from gcc -Wformat=2 when they're used as format strings.
</content>
</entry>
<entry>
<title>correct readlink termination. from Doug Hogan</title>
<updated>2014-07-11T07:54:04Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-07-11T07:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cc05d916257a52c390551cc7da9991c47fd593c7'/>
<id>urn:sha1:cc05d916257a52c390551cc7da9991c47fd593c7</id>
<content type='text'>
</content>
</entry>
</feed>
