* [PATCH 2/2] (repost) New System call, unshare
@ 2005-09-07 17:43 Janak Desai
0 siblings, 0 replies; only message in thread
From: Janak Desai @ 2005-09-07 17:43 UTC (permalink / raw)
To: viro, akpm; +Cc: hch, linux-kernel
[PATCH 2/2] unshare system call: System Call setup for i386 arch
Signed-off-by: Janak Desai
arch/i386/kernel/syscall_table.S | 1 +
include/asm-i386/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff -Naurp linux-2.6.13-mm1/arch/i386/kernel/syscall_table.S linux-2.6.13-mm1+unshare-patch2/arch/i386/kernel/syscall_table.S
--- linux-2.6.13-mm1/arch/i386/kernel/syscall_table.S 2005-09-07 13:24:01.000000000 +0000
+++ linux-2.6.13-mm1+unshare-patch2/arch/i386/kernel/syscall_table.S 2005-09-07 13:40:42.000000000 +0000
@@ -300,3 +300,4 @@ ENTRY(sys_call_table)
.long sys_vperfctr_control
.long sys_vperfctr_write
.long sys_vperfctr_read
+ .long sys_unshare /* 300 */
diff -Naurp linux-2.6.13-mm1/include/asm-i386/unistd.h linux-2.6.13-mm1+unshare-patch2/include/asm-i386/unistd.h
--- linux-2.6.13-mm1/include/asm-i386/unistd.h 2005-09-07 13:24:52.000000000 +0000
+++ linux-2.6.13-mm1+unshare-patch2/include/asm-i386/unistd.h 2005-09-07 13:40:42.000000000 +0000
@@ -305,8 +305,9 @@
#define __NR_vperfctr_control (__NR_vperfctr_open+1)
#define __NR_vperfctr_write (__NR_vperfctr_open+2)
#define __NR_vperfctr_read (__NR_vperfctr_open+3)
+#define __NR_unshare 300
-#define NR_syscalls 300
+#define NR_syscalls 301
/*
* user-visible error numbers are in the range -1 - -128: see
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-07 17:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07 17:43 [PATCH 2/2] (repost) New System call, unshare Janak Desai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®