<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/wump, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/wump?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/wump?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-12-20T09:55:44Z</updated>
<entry>
<title>Move a badly positioned parenthesis that caused nonsensical movement</title>
<updated>2018-12-20T09:55:44Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-12-20T09:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6106ce73d60968add179949ec4fdf000d95bed55'/>
<id>urn:sha1:6106ce73d60968add179949ec4fdf000d95bed55</id>
<content type='text'>
properties for the Wumpus.  The bug has been present since 4.3BSD-Reno
and was introduced by Keith Bostic on February 14, 1990 when committing
the major rewrite from Dave Taylor.

Patch (accompanied by a detailed functional and historical analysis)
from David Fifield &lt;david at bamsoftware dot com&gt; on bugs@.

With all the bats in these caves, how could a bug possibly survive
for twenty-eight years?
</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>As per style(9), remove remaining lint-style comments from games/</title>
<updated>2016-01-10T13:35:09Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-10T13:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7e027cb7af8339d869c5abaf2cab2bd54487de54'/>
<id>urn:sha1:7e027cb7af8339d869c5abaf2cab2bd54487de54</id>
<content type='text'>
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>Declare usage() functions as __dead void, if they don't return, on games section.</title>
<updated>2015-12-25T20:59:09Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-25T20:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f0628b46ae621bae7650f74df86c15fcd5e2698f'/>
<id>urn:sha1:f0628b46ae621bae7650f74df86c15fcd5e2698f</id>
<content type='text'>
Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore.

OK tb@
</content>
</entry>
<entry>
<title>last but not least: add pledge for wump(6)</title>
<updated>2015-11-30T09:00:02Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2015-11-30T09:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=56e43436ced2c91f57388829862aa6a444290d76'/>
<id>urn:sha1:56e43436ced2c91f57388829862aa6a444290d76</id>
<content type='text'>
one more of those games which fork a pager with instructions, so first
pledge "stdio rpath proc exec", then drop to pledge "stdio" afterwards.
</content>
</entry>
<entry>
<title>replace srandomdev()+random() with the arc4random*() family</title>
<updated>2013-08-29T20:22:09Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2013-08-29T20:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=66e49541875b8761f9d8963cc31a7972678263cb'/>
<id>urn:sha1:66e49541875b8761f9d8963cc31a7972678263cb</id>
<content type='text'>
tweaks and ok millert@, ok deraadt@
</content>
</entry>
<entry>
<title>rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and</title>
<updated>2009-10-27T23:59:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2009-10-27T23:59:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=043fbe51c197dbbcd422e917b65f765d8b5f8874'/>
<id>urn:sha1:043fbe51c197dbbcd422e917b65f765d8b5f8874</id>
<content type='text'>
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
</content>
</entry>
</feed>
