<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/hidden/sys, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden/sys?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/hidden/sys?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-01-11T18:46:30Z</updated>
<entry>
<title>mincore() is a relic from the past, exposing physical machine information</title>
<updated>2019-01-11T18:46:30Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-01-11T18:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=54e4f6b9a1dc183e1dc7c4a722c2646aa309246a'/>
<id>urn:sha1:54e4f6b9a1dc183e1dc7c4a722c2646aa309246a</id>
<content type='text'>
about shared resources which no program should see.  only a few pieces of
software use it, generally poorly thought out.  they are being fixed, so
mincore() can be deleted.
ok guenther tedu jca sthen, others
</content>
</entry>
<entry>
<title>Wrap &lt;sched.h&gt; and &lt;sys/futex.h&gt; so that internal calls go direct</title>
<updated>2017-08-15T07:02:34Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-08-15T07:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=26b87f4eec61cca0f18741692a53126427cae92d'/>
<id>urn:sha1:26b87f4eec61cca0f18741692a53126427cae92d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>port the RBT code to userland by making it part of libc.</title>
<updated>2017-06-19T03:06:26Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2017-06-19T03:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f933361f20df4def12f9bc8391f68d6bfad3bb75'/>
<id>urn:sha1:f933361f20df4def12f9bc8391f68d6bfad3bb75</id>
<content type='text'>
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with
annotations for symbol visibility. changes to one should be reflected
in the other.

the malloc debug code that uses RB code is ported to RBT.

because libc provides the RBT code, procmap doesn't have to reach into
the kernel and build subr_tree.c itself now.

mild enthusiasm from many
ok guenther@
</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>Turd polish: use HIDDEN= instead of PSEUDO= for ptrace syscall stub, to</title>
<updated>2016-03-30T07:55:36Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-03-30T07:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=754df621918a52dedaaea6068260866a69a36579'/>
<id>urn:sha1:754df621918a52dedaaea6068260866a69a36579</id>
<content type='text'>
make its underlying symbol name look like others.
</content>
</entry>
<entry>
<title>Wrap waitpid() so calls go direct; weaken wait() and wait3().</title>
<updated>2015-10-25T19:15:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-25T19:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=800a8ade7bb9667398282c53d4bb5e8ac8ee11be'/>
<id>urn:sha1:800a8ade7bb9667398282c53d4bb5e8ac8ee11be</id>
<content type='text'>
Strip out unnecessary #includes and use NULL instead of (struct rusage *)0
</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>Wrap &lt;sys/sem.h&gt; so internal calls go direct and all the symbols are weak</title>
<updated>2015-09-14T12:08:49Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-14T12:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c55f7b38c553959dd66bc36930544fd72cd6061e'/>
<id>urn:sha1:c55f7b38c553959dd66bc36930544fd72cd6061e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make isfdtype() and getmntinfo() weak symbols</title>
<updated>2015-09-14T10:11:54Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-14T10:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5674b11ff5f1df7421702a793745924b56116350'/>
<id>urn:sha1:5674b11ff5f1df7421702a793745924b56116350</id>
<content type='text'>
</content>
</entry>
</feed>
