<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/arm/sys, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm/sys?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/arm/sys?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-19T17:57:40Z</updated>
<entry>
<title>replace ad-hoc illegal instruction with the architecturally defined one</title>
<updated>2020-10-19T17:57:40Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-10-19T17:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5bbf88322ed6a7a68da69a643f5f3b793160f0cd'/>
<id>urn:sha1:5bbf88322ed6a7a68da69a643f5f3b793160f0cd</id>
<content type='text'>
("permanently undefined")
ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>SYS___threxit cannot fail, but this integration looks like a gadget.</title>
<updated>2020-10-18T14:28:16Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-10-18T14:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13df69822c46036ceeeafb612b360459feebf6db'/>
<id>urn:sha1:13df69822c46036ceeeafb612b360459feebf6db</id>
<content type='text'>
Put a hard-trap instruction after the syscall instruction.
ok kettenis mortimer
</content>
</entry>
<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>
</feed>
