<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/arithmetic, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/arithmetic?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/arithmetic?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-12-27T17:27:23Z</updated>
<entry>
<title>convert to unsigned variables to avoid some overflows.</title>
<updated>2018-12-27T17:27:23Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2018-12-27T17:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2e2e33a122415d979624273ab54d6e35f0568389'/>
<id>urn:sha1:2e2e33a122415d979624273ab54d6e35f0568389</id>
<content type='text'>
analysis and patch from David Fifield
</content>
</entry>
<entry>
<title>Callers of time(3) should #include &lt;time.h&gt;.</title>
<updated>2016-09-11T14:21:17Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-09-11T14:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ee7acb09aaf271db7965339e3b41e269df1a9494'/>
<id>urn:sha1:ee7acb09aaf271db7965339e3b41e269df1a9494</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>- optarg and optind are declared by unistd.h, so remove them...</title>
<updated>2016-01-27T13:42:08Z</updated>
<author>
<name>gsoares</name>
<email>gsoares@openbsd.org</email>
</author>
<published>2016-01-27T13:42:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b1512104e5d70b2d0b2614d937738c8a33dae161'/>
<id>urn:sha1:b1512104e5d70b2d0b2614d937738c8a33dae161</id>
<content type='text'>
- use strtonum rather than atoi
- zap case '?' in getopt(3) switch
- use _exit(2) in signal handler
- use __progname in usage() instead of hardcoded name

OK tb@ mestre@
</content>
</entry>
<entry>
<title>Remove unused header</title>
<updated>2016-01-25T21:17:45Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-25T21:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ab0a4ae52bc0a573aa722f648b8b65df7f771ee3'/>
<id>urn:sha1:ab0a4ae52bc0a573aa722f648b8b65df7f771ee3</id>
<content type='text'>
</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>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>Cast ctype functions' arguments to unsigned char.</title>
<updated>2015-10-24T17:13:27Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-10-24T17:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=057b7905c4df8aa05eca77ab5ca5f166b00d9b09'/>
<id>urn:sha1:057b7905c4df8aa05eca77ab5ca5f166b00d9b09</id>
<content type='text'>
ok guenther@
</content>
</entry>
<entry>
<title>Pledge that arithmetic only takes "stdio".</title>
<updated>2015-10-10T22:32:55Z</updated>
<author>
<name>doug</name>
<email>doug@openbsd.org</email>
</author>
<published>2015-10-10T22:32:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3ef98285c6ed91279a7f147648c4ef96d27b4805'/>
<id>urn:sha1:3ef98285c6ed91279a7f147648c4ef96d27b4805</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use .Cm rather than .Ar for fixed string arguments</title>
<updated>2015-09-12T16:10:25Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2015-09-12T16:10:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=eef66833139d7be747b568761ae68ed99ac8d439'/>
<id>urn:sha1:eef66833139d7be747b568761ae68ed99ac8d439</id>
<content type='text'>
</content>
</entry>
</feed>
