mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
f93fc0b75a
* socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
38 lines
472 B
Plaintext
38 lines
472 B
Plaintext
libc {
|
|
GLIBC_2.0 {
|
|
# functions used in other libraries
|
|
__connect; __send;
|
|
|
|
# a*
|
|
accept;
|
|
|
|
# b*
|
|
bind;
|
|
|
|
# c*
|
|
connect;
|
|
|
|
# g*
|
|
getpeername; getsockname; getsockopt;
|
|
|
|
# i*
|
|
isfdtype;
|
|
|
|
# l*
|
|
listen;
|
|
|
|
# r*
|
|
recv; recvfrom; recvmsg;
|
|
|
|
# s*
|
|
send; sendmsg; sendto; setsockopt; shutdown; socket; socketpair;
|
|
}
|
|
GLIBC_2.2.4 {
|
|
# Addition from P1003.1-200x
|
|
sockatmark;
|
|
}
|
|
GLIBC_2.10 {
|
|
accept4;
|
|
}
|
|
}
|