<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/librthread/shlib_version, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/librthread/shlib_version?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/librthread/shlib_version?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-02-04T17:18:08Z</updated>
<entry>
<title>add a pthread_get_name_np to match pthread_set_name_np.</title>
<updated>2019-02-04T17:18:08Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-02-04T17:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=295117693e3a1d8af9cc3004578ce352f938d83a'/>
<id>urn:sha1:295117693e3a1d8af9cc3004578ce352f938d83a</id>
<content type='text'>
could be useful in ports.
initial diff by David Carlier some time ago.
ok jca
</content>
</entry>
<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>Revert recent changes to unbreak ports/net/samba</title>
<updated>2017-11-04T22:53:57Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2017-11-04T22:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a318b99d5fc4aa6b07d4c22670471e27e4e35499'/>
<id>urn:sha1:a318b99d5fc4aa6b07d4c22670471e27e4e35499</id>
<content type='text'>
While it is not clear (to me) why that ports ends up with corrupted
shared libs, reverting those changes fixes the issue and should allow us
to close p2k17 more smoothly.

Discussed with a bunch, ok ajacoutot@ guenther@
</content>
</entry>
<entry>
<title>Change pthread_cleanup_{push,pop} to macros that store the cleanup info</title>
<updated>2017-10-28T21:23:14Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-10-28T21:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1047ef5966317c9fab0ca6a81c79a32a903b0215'/>
<id>urn:sha1:1047ef5966317c9fab0ca6a81c79a32a903b0215</id>
<content type='text'>
on the stack instead of mallocing the list and move the APIs from libpthread
to libc so that they can be used inside libc.

Note: the standard was explicitly written to permit/support this
"macro with unmatched brace" style and it's what basically everyone
else already does.  We xor the info with random cookies with a
random magic to detect/trip-up overwrites.

Major bump to both libc and libpthread due to the API move.

ok mpi@
</content>
</entry>
<entry>
<title>Move mutex, condvar, and thread-specific data routes, pthread_once, and</title>
<updated>2017-09-05T02:40:54Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-09-05T02:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c'/>
<id>urn:sha1:a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c</id>
<content type='text'>
pthread_exit from libpthread to libc, along with low-level bits to
support them.  Major bump to both libc and libpthread.

Requested by libressl team.  Ports testing by naddy@
ok kettenis@
</content>
</entry>
<entry>
<title>bump</title>
<updated>2016-09-01T10:41:31Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2016-09-01T10:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a26544efd30dc2732c9b7263858724f278270fd0'/>
<id>urn:sha1:a26544efd30dc2732c9b7263858724f278270fd0</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>Rename the system call sendsyslog2 to sendsyslog.  Keep the old one</title>
<updated>2016-03-21T22:41:28Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2016-03-21T22:41:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=46afc4a47fab5533b885a0604dcf35228f31933f'/>
<id>urn:sha1:46afc4a47fab5533b885a0604dcf35228f31933f</id>
<content type='text'>
as osendsyslog for a while.  The three argument variant is the only
one that will stay.
input kettenis@;  OK deraadt@
</content>
</entry>
<entry>
<title>Split the intra-thread functionality from kill(2) into its own syscall</title>
<updated>2015-11-10T04:30:59Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-10T04:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=60d4950662688e997ad441a67807aa227b539842'/>
<id>urn:sha1:60d4950662688e997ad441a67807aa227b539842</id>
<content type='text'>
thrkill(2), rolling the kill(2) syscall number with the ABI change to
avoid breaking binaries during during the transition.  thrkill(2) includes
a 'tcb' argument that eliminates the need for locking in pthread_kill()
and simplifies pthread_cancel().  Switch __stack_smash_handler() to use
thrkill(2) and explicitly unblock SIGABRT.

Minor bump to both libc and libpthread: make sure you install a new kernel!

ok semarie@
</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>
</feed>
