<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/snake, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/snake?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/snake?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:32:41Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</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>printing the pinball bonus in the corner is confusing when you lose.</title>
<updated>2019-01-20T04:14:19Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-20T04:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3bce2bd62bed50c231c0e561bfba9bc53902af7f'/>
<id>urn:sha1:3bce2bd62bed50c231c0e561bfba9bc53902af7f</id>
<content type='text'>
just let the bonus happen if it does, players will figure it out.
</content>
</entry>
<entry>
<title>remove some obsolete comments about deleted code</title>
<updated>2019-01-20T04:12:58Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-20T04:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=59bfb9d6a7a75040ffa807e96502d9bb2224eec4'/>
<id>urn:sha1:59bfb9d6a7a75040ffa807e96502d9bb2224eec4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>quick fix to keep the cursor in the corner during space warp.</title>
<updated>2019-01-20T04:10:12Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-20T04:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ae3bacb543de1ecd573ecc0f759e7abac3eb1c21'/>
<id>urn:sha1:ae3bacb543de1ecd573ecc0f759e7abac3eb1c21</id>
<content type='text'>
less distracting this way.
</content>
</entry>
<entry>
<title>if the snake ran over the money, print the treasure instead of empty.</title>
<updated>2019-01-20T04:09:15Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-01-20T04:09:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e87918d773a40272f3e61729a4d0d3d9fb86e24f'/>
<id>urn:sha1:e87918d773a40272f3e61729a4d0d3d9fb86e24f</id>
<content type='text'>
bug noticed by mlarkin
</content>
</entry>
<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>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>Prefer fseek(3) over rewind(3) since the latter although it also calls fseek</title>
<updated>2016-03-16T15:00:35Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-03-16T15:00:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=45555366a842c96fb22a8cb7ec0b586cd1884dad'/>
<id>urn:sha1:45555366a842c96fb22a8cb7ec0b586cd1884dad</id>
<content type='text'>
then additionally it calls clearerr(3) deliberately but we want to catch any
error that may happen and this way we couldn't catch it

OK tb@
</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 parameter fd from snscore() since it's never used</title>
<updated>2016-02-09T13:41:59Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-02-09T13:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=565945af9974840b46bc5deabbca4574a098d158'/>
<id>urn:sha1:565945af9974840b46bc5deabbca4574a098d158</id>
<content type='text'>
- And while here, fwrite(3) returns size_t whereas nscores is an int, so cast
nscores to u_int. This is a false positive, but silences a compiler warning
with -Wextra -pedantic

tb@ : "Looks ok to me" after suggestion from him
</content>
</entry>
</feed>
