<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/termios, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/termios?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/termios?h=master'/>
<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>add missing HISTORY; based on CVS logs and release announcements</title>
<updated>2017-10-17T22:47:58Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2017-10-17T22:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f273b081c91dc2a2c134252b43a1b2c9bf96c926'/>
<id>urn:sha1:f273b081c91dc2a2c134252b43a1b2c9bf96c926</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shm_open(), sysconf(), tcflow(), and tcsendbreak() are not permitted to be</title>
<updated>2017-09-10T18:20:00Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-09-10T18:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=81064d433281cbb881394cc726b6ecbb9268d4ee'/>
<id>urn:sha1:81064d433281cbb881394cc726b6ecbb9268d4ee</id>
<content type='text'>
cancellation points in POSIX, so change them to invoke the non-cancellation
point versions of open(), close(), nanosleep(), and write()

ok deraadt@ millert@
</content>
</entry>
<entry>
<title>If tcsetpgrp() is called by a background process and there is a</title>
<updated>2017-03-07T19:08:07Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2017-03-07T19:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df1c03b73b1070079c509ffc20d647de4c05b042'/>
<id>urn:sha1:df1c03b73b1070079c509ffc20d647de4c05b042</id>
<content type='text'>
SIGTTOU handler installed without SA_RESTART set, tcsetpgrp() will
return -1 and set errno to EINTR.  OK deraadt@
</content>
</entry>
<entry>
<title>Document that SIGTTOU is sent if the process is in the background.</title>
<updated>2016-07-10T00:48:21Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-07-10T00:48:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=436aca8dfe409c1f974aa68b559e1eb06b0aaf50'/>
<id>urn:sha1:436aca8dfe409c1f974aa68b559e1eb06b0aaf50</id>
<content type='text'>
Adapted from text from tcsetattr(3).
</content>
</entry>
<entry>
<title>Use a Thread Information Block in both single and multi-threaded programs.</title>
<updated>2016-05-07T19:05:21Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-07T19:05:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fe38b55cb0aae270de3f844146814682e8cd345c'/>
<id>urn:sha1:fe38b55cb0aae270de3f844146814682e8cd345c</id>
<content type='text'>
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a.  This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes.  'errno' *must* be declared via
&lt;errno.h&gt; now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@
</content>
</entry>
<entry>
<title>for some time now mandoc has not required MLINKS to function</title>
<updated>2016-03-30T06:38:40Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2016-03-30T06:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=faa33665ab2c5a685369c10172c1a3d7555eb253'/>
<id>urn:sha1:faa33665ab2c5a685369c10172c1a3d7555eb253</id>
<content type='text'>
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
</content>
</entry>
<entry>
<title>typo tcgetpgrp -&gt; tcsetpgrp</title>
<updated>2015-11-20T18:10:37Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2015-11-20T18:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=616ee366acc50c8d925e57dda2c7e1227268218c'/>
<id>urn:sha1:616ee366acc50c8d925e57dda2c7e1227268218c</id>
<content type='text'>
ok mmcc@, yes... deraadt@
</content>
</entry>
<entry>
<title>delete old lint ARGSUSED comments</title>
<updated>2015-11-01T03:45:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-01T03:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10632a79cc0d3f2730baa9fb977894fdccb4f611'/>
<id>urn:sha1:10632a79cc0d3f2730baa9fb977894fdccb4f611</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wrap &lt;termios.h&gt; so that calls go direct and the symbols are all weak.</title>
<updated>2015-09-13T11:51:36Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-13T11:51:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a167d8c14a6eba52f5e4403a2f59dfd23b6955f5'/>
<id>urn:sha1:a167d8c14a6eba52f5e4403a2f59dfd23b6955f5</id>
<content type='text'>
</content>
</entry>
</feed>
