From: Arnd Bergmann Date: Thu, 10 Dec 2009 21:10:31 +0000 (+0100) Subject: asm-generic: add sys_accept4 to unistd.h X-Git-Tag: Ubuntu-5.10.0-12.13~30375^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9ab87644393d789b950ba984fa360f45c4df02e5;p=mirror_ubuntu-hirsute-kernel.git asm-generic: add sys_accept4 to unistd.h Code review has shown that the generic version of unistd.h is missing a reference to the accept4 system call. This was not noticed before because most architectures handle this through sys_socketcall. Signed-off-by: Arnd Bergmann --- diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index 2869650fb083..c5545da5cb72 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -622,9 +622,11 @@ __SYSCALL(__NR_move_pages, sys_move_pages) __SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo) #define __NR_perf_event_open 241 __SYSCALL(__NR_perf_event_open, sys_perf_event_open) +#define __NR_accept4 242 +__SYSCALL(__NR_accept4, sys_accept4) #undef __NR_syscalls -#define __NR_syscalls 242 +#define __NR_syscalls 243 /* * All syscalls below here should go away really,