<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/hppa/sys, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/hppa/sys?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/hppa/sys?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-05-30T05:18:52Z</updated>
<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>
<entry>
<title>Simplify fork/vfork logic: the kernel has handled returning zero in the child</title>
<updated>2015-03-31T04:32:01Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-03-31T04:32:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=26e1ecc85e4cb7150f8657b3dfe28eaf6e48ff59'/>
<id>urn:sha1:26e1ecc85e4cb7150f8657b3dfe28eaf6e48ff59</id>
<content type='text'>
for a long time, so there's no need to test the second return register here
in the asm stub.

ok and testing of many archs by krw@ miod@
</content>
</entry>
<entry>
<title>correct argument handling; this has been broken since to beginning</title>
<updated>2014-01-10T20:53:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-01-10T20:53:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f32e74badc1ea570f0ed26b961d546c65794d785'/>
<id>urn:sha1:f32e74badc1ea570f0ed26b961d546c65794d785</id>
<content type='text'>
and was writing to wrong memory.
ok jsing miod guenther
</content>
</entry>
<entry>
<title>Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc</title>
<updated>2012-08-22T17:19:34Z</updated>
<author>
<name>pascal</name>
<email>pascal@openbsd.org</email>
</author>
<published>2012-08-22T17:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=32b97ded27de5903c20959eb5b8c92c4f703e15d'/>
<id>urn:sha1:32b97ded27de5903c20959eb5b8c92c4f703e15d</id>
<content type='text'>
invocations.  This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC.  Simplifies PIE work a lot.

ok matthew@, conceptually ok kurt@
</content>
</entry>
</feed>
