Skip to content

Commit

Permalink
asm-generic: add sys_accept4 to unistd.h
Browse files Browse the repository at this point in the history
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 <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Dec 10, 2009
1 parent 1f018c8 commit 9ab8764
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ab8764

Please sign in to comment.