summaryrefslogtreecommitdiff
path: root/usr.bin/shar
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-10-28 21:23:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-10-28 21:23:15 +0000
commit2717495d33a63467db8130f749e61927d7efafb9 (patch)
tree688cefd22c8da758c784be5fab4f657204bd669a /usr.bin/shar
parent68e1a81f9f317988357765e77a1e8afe9c1e54a8 (diff)
Change pthread_cleanup_{push,pop} to macros that store the cleanup info
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@
Diffstat (limited to 'usr.bin/shar')
0 files changed, 0 insertions, 0 deletions