summaryrefslogtreecommitdiff
path: root/arch/i386/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-08 20:22:08 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-08 20:22:08 -0400
commit6cf8bfdb646efaf76c75a95d1ea0cd254706c037 (patch)
treebc640847a316bb36ba69d81cc2b5230f55f905f0 /arch/i386/bits
parentb10d0230c1837be34e4ece7d6b11d19f1b578b9f (diff)
downloadmusl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.gz
musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.bz2
musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.tar.xz
musl-6cf8bfdb646efaf76c75a95d1ea0cd254706c037.zip
add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
Diffstat (limited to 'arch/i386/bits')
-rw-r--r--arch/i386/bits/syscall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h
index 77c7f118..c36d81fa 100644
--- a/arch/i386/bits/syscall.h
+++ b/arch/i386/bits/syscall.h
@@ -131,6 +131,9 @@ static __inline long __syscall6(long __n, long __a1, long __a2, long __a3, long
#define __SC_getsockopt 15
#define __SC_sendmsg 16
#define __SC_recvmsg 17
+#define __SC_accept4 18
+#define __SC_recvmmsg 19
+#define __SC_sendmmsg 20
#define __socketcall(nm,a,b,c,d,e,f) syscall(SYS_socketcall, __SC_##nm, \
((long [6]){ (long)a, (long)b, (long)c, (long)d, (long)e, (long)f }))