mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[PATCH] x86-64: Add sys_unshare
Add unshare syscall for x86-64 ppoll/pselect are not ready yet, but add reservations. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
ca76a2f3a5
commit
4b88f09364
3 changed files with 14 additions and 2 deletions
|
@ -685,6 +685,9 @@ ia32_sys_call_table:
|
|||
.quad sys_readlinkat /* 305 */
|
||||
.quad sys_fchmodat
|
||||
.quad sys_faccessat
|
||||
.quad sys_ni_syscall /* pselect6 for now */
|
||||
.quad sys_ni_syscall /* ppoll for now */
|
||||
.quad sys_unshare /* 310 */
|
||||
ia32_syscall_end:
|
||||
.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
|
||||
.quad ni_syscall
|
||||
|
|
|
@ -313,7 +313,10 @@
|
|||
#define __NR_ia32_readlinkat 305
|
||||
#define __NR_ia32_fchmodat 306
|
||||
#define __NR_ia32_faccessat 307
|
||||
#define __NR_ia32_pselect6 308
|
||||
#define __NR_ia32_ppoll 309
|
||||
#define __NR_ia32_unshare 310
|
||||
|
||||
#define IA32_NR_syscalls 308 /* must be > than biggest syscall! */
|
||||
#define IA32_NR_syscalls 315 /* must be > than biggest syscall! */
|
||||
|
||||
#endif /* _ASM_X86_64_IA32_UNISTD_H_ */
|
||||
|
|
|
@ -599,8 +599,14 @@ __SYSCALL(__NR_readlinkat, sys_readlinkat)
|
|||
__SYSCALL(__NR_fchmodat, sys_fchmodat)
|
||||
#define __NR_faccessat 269
|
||||
__SYSCALL(__NR_faccessat, sys_faccessat)
|
||||
#define __NR_pselect6 270
|
||||
__SYSCALL(__NR_pselect6, sys_ni_syscall) /* for now */
|
||||
#define __NR_ppoll 271
|
||||
__SYSCALL(__NR_ppoll, sys_ni_syscall) /* for now */
|
||||
#define __NR_unshare 272
|
||||
__SYSCALL(__NR_unshare, sys_unshare)
|
||||
|
||||
#define __NR_syscall_max __NR_faccessat
|
||||
#define __NR_syscall_max __NR_unshare
|
||||
|
||||
#ifndef __NO_STUBS
|
||||
|
||||
|
|
Loading…
Reference in a new issue