This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 1/2] sparc64: remove bind, listen and setsockopt from syscalls.list
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Cc: "David S . Miller" <davem at davemloft dot net>, Aurelien Jarno <aurelien at aurel32 dot net>
- Date: Wed, 2 Mar 2016 09:25:22 +0100
- Subject: [PATCH v2 1/2] sparc64: remove bind, listen and setsockopt from syscalls.list
- Authentication-results: sourceware.org; auth=none
- References: <1456907123-6199-1-git-send-email-aurelien at aurel32 dot net>
The bind, listen and setsockopt syscalls have recently been added in
kernel 4.4. They should therefore not appear in syscalls.list as it
means they are use inconditionally instead of possibly using the
the socketcall fallback.
All other syscalls from syscalls.list with an equivalent socketcall
version are available in kernel 3.2, which is the required minimum.
Changelog:
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen,
setsockopt): Remove.
---
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
I plan to backport this change into version 2.21, 2.22 and 2.23. I can
also backport it to older versions if requested.
diff --git a/ChangeLog b/ChangeLog
index 787fef1..f01786b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-02 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind, listen,
+ setsockopt): Remove.
+
2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
index 3d1c1da..cf18eb4 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
@@ -3,18 +3,15 @@
# Override select.S in parent directory:
select - select C:5 __select select
accept - accept C:3 __libc_accept __accept accept
-bind - bind 3 __bind bind
connect - connect C:3 __libc_connect __connect connect
getpeername - getpeername 3 __getpeername getpeername
getsockname - getsockname 3 __getsockname getsockname
getsockopt - getsockopt 5 __getsockopt getsockopt
-listen - listen 2 __listen listen
recv - recv C:4 __libc_recv __recv recv
recvfrom - recvfrom C:6 __libc_recvfrom __recvfrom recvfrom
recvmsg - recvmsg C:3 __libc_recvmsg __recvmsg recvmsg
send - send C:4 __libc_send __send send
sendmsg - sendmsg C:3 __libc_sendmsg __sendmsg sendmsg
sendto - sendto C:6 __libc_sendto __sendto sendto
-setsockopt - setsockopt 5 __setsockopt setsockopt
shutdown - shutdown 2 __shutdown shutdown
socketpair - socketpair 4 __socketpair socketpair
--
2.7.0