diff options
author | Andi Kleen <ak@suse.de> | 2006-02-08 18:35:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-08 18:52:15 -0500 |
commit | 4b88f09364e94b05b66fb1441131e8460495a2f8 (patch) | |
tree | 006c9594aa26a8ee6805b337901ecf7823c17dd9 /include/asm-x86_64/unistd.h | |
parent | ca76a2f3a5202ec1618cb7e76aa8a573235e469f (diff) |
[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>
Diffstat (limited to 'include/asm-x86_64/unistd.h')
-rw-r--r-- | include/asm-x86_64/unistd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index 436d099b5b6b..da0341c57949 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h | |||
@@ -599,8 +599,14 @@ __SYSCALL(__NR_readlinkat, sys_readlinkat) | |||
599 | __SYSCALL(__NR_fchmodat, sys_fchmodat) | 599 | __SYSCALL(__NR_fchmodat, sys_fchmodat) |
600 | #define __NR_faccessat 269 | 600 | #define __NR_faccessat 269 |
601 | __SYSCALL(__NR_faccessat, sys_faccessat) | 601 | __SYSCALL(__NR_faccessat, sys_faccessat) |
602 | 602 | #define __NR_pselect6 270 | |
603 | #define __NR_syscall_max __NR_faccessat | 603 | __SYSCALL(__NR_pselect6, sys_ni_syscall) /* for now */ |
604 | #define __NR_ppoll 271 | ||
605 | __SYSCALL(__NR_ppoll, sys_ni_syscall) /* for now */ | ||
606 | #define __NR_unshare 272 | ||
607 | __SYSCALL(__NR_unshare, sys_unshare) | ||
608 | |||
609 | #define __NR_syscall_max __NR_unshare | ||
604 | 610 | ||
605 | #ifndef __NO_STUBS | 611 | #ifndef __NO_STUBS |
606 | 612 | ||