summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/_rand48.c
diff options
context:
space:
mode:
authorguenther <>2017-10-28 21:23:14 +0000
committerguenther <>2017-10-28 21:23:14 +0000
commit9990829d38e8d6b09ca6313b53ebc24368889ae0 (patch)
treef833ad4169aecf6018186d7856a66df4af31a13f /src/lib/libc/stdlib/_rand48.c
parente9b80b71f7f93c4f435a1924a298335dcaaf6744 (diff)
downloadopenbsd-9990829d38e8d6b09ca6313b53ebc24368889ae0.tar.gz
openbsd-9990829d38e8d6b09ca6313b53ebc24368889ae0.tar.bz2
openbsd-9990829d38e8d6b09ca6313b53ebc24368889ae0.zip
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 'src/lib/libc/stdlib/_rand48.c')
0 files changed, 0 insertions, 0 deletions