<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/worm, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/worm?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/worm?h=jd%2Fqueueboosts'/>
<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>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>More cleanup and sorting on header section</title>
<updated>2016-01-04T17:33:24Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-04T17:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5'/>
<id>urn:sha1:2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5</id>
<content type='text'>
OK tb@ and he also pointed out that for consistency with rest of the tree we
should include termios.h instead of sys/ttydefaults.h, where applicable
</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>pledge the wyrms</title>
<updated>2015-11-21T05:29:42Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-11-21T05:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=db911c4702cb7a52d9cb96bab1870a393980703b'/>
<id>urn:sha1:db911c4702cb7a52d9cb96bab1870a393980703b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace setbuf with setvbuf, from Frederic Nowak</title>
<updated>2015-11-04T21:22:10Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-11-04T21:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=33206277febef61dfb7bd1e4e5e039c0db0c0ce3'/>
<id>urn:sha1:33206277febef61dfb7bd1e4e5e039c0db0c0ce3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace clock_gettime UPTIME with MONOTONIC to improve worm portability.</title>
<updated>2015-08-26T01:25:57Z</updated>
<author>
<name>rzalamena</name>
<email>rzalamena@openbsd.org</email>
</author>
<published>2015-08-26T01:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d4bd758816383fd02a7984148929452470d4a81d'/>
<id>urn:sha1:d4bd758816383fd02a7984148929452470d4a81d</id>
<content type='text'>
ok deraadt@, guenther@.
</content>
</entry>
<entry>
<title>Fix cheating bug by using unused time variables and replace poll() with</title>
<updated>2015-08-24T21:52:12Z</updated>
<author>
<name>rzalamena</name>
<email>rzalamena@openbsd.org</email>
</author>
<published>2015-08-24T21:52:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df5f0d5ca114334734f42d7d38b068fcb4e0b41c'/>
<id>urn:sha1:df5f0d5ca114334734f42d7d38b068fcb4e0b41c</id>
<content type='text'>
ppoll() to better use the timespec struct.

ok deraadt@.
</content>
</entry>
<entry>
<title>remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krw</title>
<updated>2015-08-22T14:47:40Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-08-22T14:47:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ca161728cbfc5130bcf1c7b8014b8b58e93d6de5'/>
<id>urn:sha1:ca161728cbfc5130bcf1c7b8014b8b58e93d6de5</id>
<content type='text'>
</content>
</entry>
</feed>
