fdmap v2 - wire sys_socket2 to x86-64
PATCH 8/8 fdmap v2 - wire sys_socket2 to x86-64
Wire the new sys_socket2 system call to the x86-64 architecture.
Signed-off-by Davide Libenzi <[email protected]>
- Davide
arch/x86_64/ia32/ia32entry.S +1 -0
@@ -720,4 +720,5 @@ .quad compat_sys_timerfd .quad sys_eventfd .quad sys_nonseqfd + .quad sys_socket2 /* 325 */ ia32_syscall_end:
include/asm-x86_64/unistd.h +2 -0
@@ -632,6 +632,8 @@ __SYSCALL(__NR_eventfd, sys_eventfd)#define __NR_nonseqfd 284 __SYSCALL(__NR_nonseqfd, sys_nonseqfd) +#define __NR_socket2 285 +__SYSCALL(__NR_socket2, sys_socket2)#ifndef __NO_STUBS#define __ARCH_WANT_OLD_READDIR
kernel/sys_ni.c +1 -0
@@ -34,6 +34,7 @@cond_syscall (sys_recvfrom);cond_syscall (sys_recv);cond_syscall (sys_socket); +cond_syscall (sys_socket2);cond_syscall (sys_setsockopt);cond_syscall (sys_getsockopt);cond_syscall (sys_shutdown);