<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/arm/sys, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm/sys?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm/sys?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-11-21T19:08:36Z</updated>
<entry>
<title>Avoid .align 0.  Clang's integrated assembler actually honors this directive</title>
<updated>2017-11-21T19:08:36Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-11-21T19:08:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=71334cb4e6ede90049c422230bbc55cc6ceae515'/>
<id>urn:sha1:71334cb4e6ede90049c422230bbc55cc6ceae515</id>
<content type='text'>
and the resulting byte-alignment triggers unaligned access.

ok patrick@, deraadt@
</content>
</entry>
<entry>
<title>Use the userspace-visible thread register directly in __cerror instead</title>
<updated>2016-10-04T03:15:51Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-10-04T03:15:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aa9f6bfe037dc443ad3cc550a5705d5c20f8cf2b'/>
<id>urn:sha1:aa9f6bfe037dc443ad3cc550a5705d5c20f8cf2b</id>
<content type='text'>
of indirecting through __errno().

Register naming tweaks and clang testing by patrick@ and jsg@
ok kettenis@
</content>
</entry>
<entry>
<title>Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp</title>
<updated>2016-08-06T19:16:09Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-08-06T19:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3884871817cb6c13555e7e8b09d51aa7e2b64045'/>
<id>urn:sha1:3884871817cb6c13555e7e8b09d51aa7e2b64045</id>
<content type='text'>
Eliminate pointless use of PIC_SYM()
Split out DEFS.h from SYS.h like some other archs

ok kettenis@ deraadt@
</content>
</entry>
<entry>
<title>Consistently reference '_end' instead of 'end' in the brk/sbrk implementation</title>
<updated>2016-05-30T05:18:52Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-30T05:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=01422588aea879b986d4ff8bb39988e7dd8edad8'/>
<id>urn:sha1:01422588aea879b986d4ff8bb39988e7dd8edad8</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>Remove sigreturn declaration and the now-unused libc syscall stub</title>
<updated>2016-05-09T23:55:52Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-05-09T23:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2032f1fe089ecb5afeb6e1e71e5f1fc7aa2df44c'/>
<id>urn:sha1:2032f1fe089ecb5afeb6e1e71e5f1fc7aa2df44c</id>
<content type='text'>
</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>Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread</title>
<updated>2015-10-23T04:39:24Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-23T04:39:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5aed4d28d43eadb2b7771720ac4d094bec87d515'/>
<id>urn:sha1:5aed4d28d43eadb2b7771720ac4d094bec87d515</id>
<content type='text'>
into libc, and move pthread_sigmask() as well (just a trivial wrapper).
This provides consistent handling of SIGTHR between single- and multi-threaded
programs and is a step in the merge of all the libpthread overloads, providing
some ASM and Makefile bits that the other wrappers will need.

ok deraadt@ millert@
</content>
</entry>
<entry>
<title>Adds hidden _libc_FOO aliases for the system call stubs.</title>
<updated>2015-09-10T13:29:09Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-10T13:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3f373d4115327011c7af514e278a1fc5ced933e6'/>
<id>urn:sha1:3f373d4115327011c7af514e278a1fc5ced933e6</id>
<content type='text'>
Stop generating _brk and _sbrk symbols: they've already been hidden.
Set the ELF symbol size on the syscall stubs.
Give the __{min,cur}brk symbols a size and type, and hide more jump labels.

alpha, arm, m88k, sh, sparc, and vax assistance miod@
hppa assistance kettenis@
ok deraadt@ miod@
</content>
</entry>
<entry>
<title>Hide many (194!) symbols that nothing should be using.</title>
<updated>2015-08-26T01:54:08Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-08-26T01:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b3b7ef2e4e6be9caa31c33f1642745eba9e6b35d'/>
<id>urn:sha1:b3b7ef2e4e6be9caa31c33f1642745eba9e6b35d</id>
<content type='text'>
Delete exect(2); it wasn't portable across archs and nothing used it.

ports test build by naddy@
ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Make pthread_atfork() track the DSO that called it like atexit() does,</title>
<updated>2015-04-07T01:27:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-04-07T01:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=514a545f8a3983d53b7de4e8dfcefe16c9496776'/>
<id>urn:sha1:514a545f8a3983d53b7de4e8dfcefe16c9496776</id>
<content type='text'>
unregistering callbacks if the DSO is unloaded.  Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.

verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@
</content>
</entry>
</feed>
