summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-12-31 15:18:02 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-31 15:18:02 -0500
commit8b30ca73b7cc7f2177cfc4e8274d2ebdba328cd5 (patch)
treeb5c89c7c3f70e43ab79b53e01ca6d1af884b93f8 /arch/sparc/include
parent8db7b3c54401d83a4dc370a59b8692854000ea03 (diff)
downloadop-kernel-dev-8b30ca73b7cc7f2177cfc4e8274d2ebdba328cd5.zip
op-kernel-dev-8b30ca73b7cc7f2177cfc4e8274d2ebdba328cd5.tar.gz
sparc: Add all necessary direct socket system calls.
The GLIBC folks would like to eliminate socketcall support eventually, and this makes sense regardless so wire them all up. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/uapi/asm/unistd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc/include/uapi/asm/unistd.h b/arch/sparc/include/uapi/asm/unistd.h
index f31a124..5655912 100644
--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -418,8 +418,11 @@
#define __NR_execveat 350
#define __NR_membarrier 351
#define __NR_userfaultfd 352
+#define __NR_bind 353
+#define __NR_listen 354
+#define __NR_setsockopt 355
-#define NR_syscalls 353
+#define NR_syscalls 356
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001
OpenPOWER on IntegriCloud