<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/hidden/sys/socket.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden/sys/socket.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden/sys/socket.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-05-07T19:05:21Z</updated>
<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>recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!)</title>
<updated>2015-10-04T07:17:27Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-04T07:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bd745da36e53583134d6cc71f94aadc5f8f2d226'/>
<id>urn:sha1:bd745da36e53583134d6cc71f94aadc5f8f2d226</id>
<content type='text'>
so wrap them to make internal calls go direct
</content>
</entry>
<entry>
<title>getpeereid() and sockatmark() are neither used in libc nor in ISO C, so mark</title>
<updated>2015-10-04T07:14:48Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-04T07:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=25f90b54fc586187d792f4d69f508f5b665df1c4'/>
<id>urn:sha1:25f90b54fc586187d792f4d69f508f5b665df1c4</id>
<content type='text'>
them deprecated and weak
</content>
</entry>
<entry>
<title>Add PROTO_WRAP() for (almost) all the syscalls that libpthread doesn't</title>
<updated>2015-09-11T15:38:33Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-11T15:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=15a0f5356ba433fa15c76c28e6592c9085f1ed98'/>
<id>urn:sha1:15a0f5356ba433fa15c76c28e6592c9085f1ed98</id>
<content type='text'>
override so that internal calls go direct

ok deraadt@
</content>
</entry>
</feed>
