<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/amd64/sys, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/amd64/sys?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/amd64/sys?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-10-18T14:28:16Z</updated>
<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>Mark top-level frame for new thread in both CFI and with zero</title>
<updated>2020-10-01T01:05:40Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2020-10-01T01:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7e6b5442a80a1169426fb80196ce0c2cb344380b'/>
<id>urn:sha1:7e6b5442a80a1169426fb80196ce0c2cb344380b</id>
<content type='text'>
framepointer, so gdb knows to stop.  Inspired by glibc

ok kettenis@
</content>
</entry>
<entry>
<title>Apply retpoline protection to the indirect call to the thread startfunc</title>
<updated>2019-05-10T01:31:30Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-05-10T01:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=50634ea57793533fe6ade2a7be1ea9f1ad0e928b'/>
<id>urn:sha1:50634ea57793533fe6ade2a7be1ea9f1ad0e928b</id>
<content type='text'>
ok mortimer@
</content>
</entry>
<entry>
<title>Remove FBSDID.</title>
<updated>2019-03-15T05:42:38Z</updated>
<author>
<name>kevlo</name>
<email>kevlo@openbsd.org</email>
</author>
<published>2019-03-15T05:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=075a6035c9ad2d9d6ba948432be901fea51fa986'/>
<id>urn:sha1:075a6035c9ad2d9d6ba948432be901fea51fa986</id>
<content type='text'>
ok deraadt@
</content>
</entry>
<entry>
<title>Don't need .text before ENTRY(), also minor spacing cleanups</title>
<updated>2017-08-19T18:24:06Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-08-19T18:24:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f4882b558943284fa7fd7e3684b04b93801b3f8e'/>
<id>urn:sha1:f4882b558943284fa7fd7e3684b04b93801b3f8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clang ignores a .weak directive before a function is actually defined.  So</title>
<updated>2016-09-10T20:39:22Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2016-09-10T20:39:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=29a0f34dbfbd761da5b30de934feede946a47ca0'/>
<id>urn:sha1:29a0f34dbfbd761da5b30de934feede946a47ca0</id>
<content type='text'>
move it from before ENTRY() to after END().  Keeps brk(2) and sbrk(2) weak
when comping libc with clang.

ok guenther@
</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>Rename SYSEXIT() to SYSCALL_END() for consistency with most other archs.</title>
<updated>2015-10-17T22:40:54Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-17T22:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=00669040fdd1b1a327dbf02c32a30474af77bf26'/>
<id>urn:sha1:00669040fdd1b1a327dbf02c32a30474af77bf26</id>
<content type='text'>
No change in resulting object files

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