<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/bs, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/bs?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/bs?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-08-24T11:14:49Z</updated>
<entry>
<title>Remove a few too early pledge(2)s on games/ and apply them a little bit later</title>
<updated>2018-08-24T11:14:49Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2018-08-24T11:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b9f129211620eb89b4a66305c6bd4241d9ac028d'/>
<id>urn:sha1:b9f129211620eb89b4a66305c6bd4241d9ac028d</id>
<content type='text'>
but with much reduced permissions ("stdio tty" if ncurses based and "stdio"
for the ones that only perform basic operations).

There's still a few games that we cannot yet remove their fs access, through
pledge(2), since they open files on demand and too late, this might get
revisited in the future.

OK tb@
</content>
</entry>
<entry>
<title>remove duplicate installation of the SIGINT handler;</title>
<updated>2018-08-05T13:32:25Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-08-05T13:32:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d5b157b0956a96a9e0778a8d8f0b7f1a45c56020'/>
<id>urn:sha1:d5b157b0956a96a9e0778a8d8f0b7f1a45c56020</id>
<content type='text'>
from Martin Kopta &lt;martin at kopta dot eu&gt;
</content>
</entry>
<entry>
<title>- General changes:</title>
<updated>2016-03-07T12:07:55Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-03-07T12:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6fa5e1da3490487b9d3a614457ba0b7c041eb1ac'/>
<id>urn:sha1:6fa5e1da3490487b9d3a614457ba0b7c041eb1ac</id>
<content type='text'>
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)

- Specific changes:
- atc(6): this used -? and -u for usage(), remove both from game and manpage
- bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h
- hunt(6): replace fputs(3) by fprintf(3)

OK tb@ after his suggestions
</content>
</entry>
<entry>
<title>Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)</title>
<updated>2016-01-10T14:10:38Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-10T14:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7dd160a5930f457aa1156214dbaa6386405688e8'/>
<id>urn:sha1:7dd160a5930f457aa1156214dbaa6386405688e8</id>
<content type='text'>
last arguments since "The list of arguments must be terminated by a null
null pointer" of type char *

Suggested by and OK tb@
</content>
</entry>
<entry>
<title>Remove unnecessary headers an sort</title>
<updated>2016-01-08T20:19:06Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-08T20:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44d3f3fb691da03af3ef45f37af640c8e0412ec4'/>
<id>urn:sha1:44d3f3fb691da03af3ef45f37af640c8e0412ec4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some basic code maintenance in games/</title>
<updated>2016-01-07T16:00:31Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-01-07T16:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=17641e3181064a4b256bd1af9f64d90af0ac5a36'/>
<id>urn:sha1:17641e3181064a4b256bd1af9f64d90af0ac5a36</id>
<content type='text'>
- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-declaration
- add and sort some headers when needed
- add straightforward pledges to some programs used at compile time

discussed with and ok mestre@
</content>
</entry>
<entry>
<title>About 13 years ago when the idiom srandom(time()), and sometimes</title>
<updated>2016-01-03T14:38:16Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-03T14:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9ea8ec706f2f03d68b523542bd48faf2fabf1785'/>
<id>urn:sha1:9ea8ec706f2f03d68b523542bd48faf2fabf1785</id>
<content type='text'>
srandom(time()+getpid()), was changed by srandomdev(), but #include &lt;time.h&gt;
lived up until this day so remove it.

Additionally, earlier than that, 18 years ago, random(6) was one of the first
consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but
these days we pull it from stdlib.h, which is already done, so while here
remove dev/rndvar.h also.

"seems comprehensive to me" deraadt@ and OK tb@
</content>
</entry>
<entry>
<title>Set as __dead a few more functions, that don't return, on games/</title>
<updated>2015-12-26T00:26:39Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-26T00:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ad55f558163bf40d70f36dd74055472237f6353'/>
<id>urn:sha1:7ad55f558163bf40d70f36dd74055472237f6353</id>
<content type='text'>
With precious tip, help and also OK from tb@
</content>
</entry>
<entry>
<title>Apply some more KNF to the declaration of functions, but keep style to the rest of code for now.</title>
<updated>2015-12-25T03:20:57Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-25T03:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cd84dbda79cf97e9aab06793a35ac9b8a2240d68'/>
<id>urn:sha1:cd84dbda79cf97e9aab06793a35ac9b8a2240d68</id>
<content type='text'>
OK tb@
</content>
</entry>
<entry>
<title>Function prototypes and a little bit of KNF.</title>
<updated>2015-12-24T16:55:13Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2015-12-24T16:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=15d5404dbffe1f65a34529d206a0e8f610f34be1'/>
<id>urn:sha1:15d5404dbffe1f65a34529d206a0e8f610f34be1</id>
<content type='text'>
Committing on behalf of mestre@ who has more to come.
</content>
</entry>
</feed>
