History log of /openbsd-src/lib/libc/hidden/sys/socket.h (Results 1 – 5 of 5)
Revision Date Author Comments
# 4a324753 09-Sep-2022 mbuhl <mbuhl@openbsd.org>

Add libc wrappers for the new sendmmsg and recvmmsg system calls.
Feedback tb@, miod@, jca@
OK jca@


# fe38b55c 07-May-2016 guenther <guenther@openbsd.org>

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an

Use a Thread Information Block in both single and multi-threaded programs.
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
<errno.h> 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@

show more ...


# bd745da3 04-Oct-2015 guenther <guenther@openbsd.org>

recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!)
so wrap them to make internal calls go direct


# 25f90b54 04-Oct-2015 guenther <guenther@openbsd.org>

getpeereid() and sockatmark() are neither used in libc nor in ISO C, so mark
them deprecated and weak


# 15a0f535 11-Sep-2015 guenther <guenther@openbsd.org>

Add PROTO_WRAP() for (almost) all the syscalls that libpthread doesn't
override so that internal calls go direct

ok deraadt@