summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-14 00:03:09 -0400
committermidipix <writeonce@midipix.org>2015-09-14 00:03:09 -0400
commitebb4799baac5120df8de86ce5fded85cd8b50628 (patch)
treefbc7336469fdd7130788287a1b638d3592a2227e
parent4097cd13405027897ee519669b512ef0aeed2050 (diff)
downloadmmglue-ebb4799baac5120df8de86ce5fded85cd8b50628.tar.bz2
mmglue-ebb4799baac5120df8de86ce5fded85cd8b50628.tar.xz
add direct socket system calls to the 32-bit midipix target.
-rw-r--r--arch/nt32/bits/syscall.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/nt32/bits/syscall.h b/arch/nt32/bits/syscall.h
index 2902f80..44d6c38 100644
--- a/arch/nt32/bits/syscall.h
+++ b/arch/nt32/bits/syscall.h
@@ -357,6 +357,23 @@
#define __NR_memfd_create 356
#define __NR_bpf 357
#define __NR_execveat 358
+#define __NR_socket 359
+#define __NR_socketpair 360
+#define __NR_bind 361
+#define __NR_connect 362
+#define __NR_listen 363
+#define __NR_accept4 364
+#define __NR_getsockopt 365
+#define __NR_setsockopt 366
+#define __NR_getsockname 367
+#define __NR_getpeername 368
+#define __NR_sendto 369
+#define __NR_sendmsg 370
+#define __NR_recvfrom 371
+#define __NR_recvmsg 372
+#define __NR_shutdown 373
+#define __NR_userfaultfd 374
+#define __NR_membarrier 375
/* Repeated with SYS_ prefix */
@@ -720,3 +737,20 @@
#define SYS_memfd_create 356
#define SYS_bpf 357
#define SYS_execveat 358
+#define SYS_socket 359
+#define SYS_socketpair 360
+#define SYS_bind 361
+#define SYS_connect 362
+#define SYS_listen 363
+#define SYS_accept4 364
+#define SYS_getsockopt 365
+#define SYS_setsockopt 366
+#define SYS_getsockname 367
+#define SYS_getpeername 368
+#define SYS_sendto 369
+#define SYS_sendmsg 370
+#define SYS_recvfrom 371
+#define SYS_recvmsg 372
+#define SYS_shutdown 373
+#define SYS_userfaultfd 374
+#define SYS_membarrier 375