<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/include, branch libressl-v2.9.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-02-13T13:22:14+00:00</updated>
<entry>
<title>New futex(2) based rwlock implementation based on the mutex code.</title>
<updated>2019-02-13T13:22:14+00:00</updated>
<author>
<name>mpi</name>
<email></email>
</author>
<published>2019-02-13T13:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1cc08e9dfa205222edf7fcc2dfc13ff00f572c84'/>
<id>urn:sha1:1cc08e9dfa205222edf7fcc2dfc13ff00f572c84</id>
<content type='text'>
This implementation reduces contention because threads no longer need
to spin calling sched_yield(2) before going to sleep.

Tested by many, thanks!

ok visa@, pirofti@
</content>
</entry>
<entry>
<title>Make the "not my pool" searching loop a tiny bit smarter, while</title>
<updated>2019-01-10T18:45:33+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2019-01-10T18:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=93282eac7fa28695cb6880305f3757cbff94eca0'/>
<id>urn:sha1:93282eac7fa28695cb6880305f3757cbff94eca0</id>
<content type='text'>
making the number of pools variable.  Do not document the malloc
conf settings atm, don't know yet if they will stay.  Thanks to all
the testers. ok deraadt@
</content>
</entry>
<entry>
<title>Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias</title>
<updated>2018-01-18T08:23:44+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2018-01-18T08:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=35352e830aefedf0f54a965ee2aaf8a6ff643231'/>
<id>urn:sha1:35352e830aefedf0f54a965ee2aaf8a6ff643231</id>
<content type='text'>
dance, mark it protected.  This works better for both gcc and clang: gcc
blocks overriding of internal calls, while clang permits inlining again.

ok otto@
</content>
</entry>
<entry>
<title>Implement __cxa_thread_atexit to support C++11 thread_local scope.  The</title>
<updated>2017-12-05T13:45:31+00:00</updated>
<author>
<name>kettenis</name>
<email></email>
</author>
<published>2017-12-05T13:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6995a7e31c862e513fc32eae98d52c8fc9e09580'/>
<id>urn:sha1:6995a7e31c862e513fc32eae98d52c8fc9e09580</id>
<content type='text'>
interface is also made available as __cxa_thread_atexit_impl to satisfy the
needs of GNU libstdc++.

ok guenther@, millert@
</content>
</entry>
<entry>
<title>clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"</title>
<updated>2017-11-29T05:13:57+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2017-11-29T05:13:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=91809a23ddd15af26964fe79c11bc52b08afeb95'/>
<id>urn:sha1:91809a23ddd15af26964fe79c11bc52b08afeb95</id>
<content type='text'>
to builtins like mem{set,cpy,move} and __stack_smash_handler.  So, when
building with clang, instead mark those as protected visibility to get rid
of the PLT relocations.  We can't take the address of them then, but that's
ok: it's a build-time error not a run-time error.

ok kettenis@
</content>
</entry>
<entry>
<title>Revert recent changes to unbreak ports/net/samba</title>
<updated>2017-11-04T22:53:57+00:00</updated>
<author>
<name>jca</name>
<email></email>
</author>
<published>2017-11-04T22:53:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b30105a553258a2086424ddb4c40ae559cf8dc7c'/>
<id>urn:sha1:b30105a553258a2086424ddb4c40ae559cf8dc7c</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:14+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2017-10-28T21:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9990829d38e8d6b09ca6313b53ebc24368889ae0'/>
<id>urn:sha1:9990829d38e8d6b09ca6313b53ebc24368889ae0</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:54+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2017-09-05T02:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=03cdb5baba30326ba37cf707fc3767747ee4173e'/>
<id>urn:sha1:03cdb5baba30326ba37cf707fc3767747ee4173e</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>Fix previous.</title>
<updated>2017-04-20T17:16:32+00:00</updated>
<author>
<name>visa</name>
<email></email>
</author>
<published>2017-04-20T17:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=818828f96a0a6686b27756ca3019ad13445d6c1a'/>
<id>urn:sha1:818828f96a0a6686b27756ca3019ad13445d6c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get TCB address using the RDHWR instruction instead of __get_tcb().</title>
<updated>2017-04-20T16:07:52+00:00</updated>
<author>
<name>visa</name>
<email></email>
</author>
<published>2017-04-20T16:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30d54f666e57ad1b211e2356d46da195a9935c29'/>
<id>urn:sha1:30d54f666e57ad1b211e2356d46da195a9935c29</id>
<content type='text'>
This gives fast access to the address on systems that implement
the UserLocal register. TCB caching is still used when running
in the single-threaded mode in order not to penalize old systems.

The kernel counterpart of this change must be in place before
using this diff!

With guenther@
</content>
</entry>
</feed>
