[PATCH -mm 2/5] New system call, unshare (i386)
From: JANAK DESAI
Date: Thu Dec 08 2005 - 17:10:43 EST
[PATCH -mm 2/5] unshare system call: System call registration for i386
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 2.6.15-rc5-mm1/arch/i386/kernel/syscall_table.S
2.6.15-rc5-mm1+unshare-i386/arch/i386/kernel/syscall_table.S
--- 2.6.15-rc5-mm1/arch/i386/kernel/syscall_table.S 2005-10-28
00:02:08.000000000 +0000
+++
2.6.15-rc5-mm1+unshare-i386/arch/i386/kernel/syscall_table.S 2005-12-07
15:24:35.000000000 +0000
@@ -294,3 +294,4 @@ ENTRY(sys_call_table)
.long sys_inotify_init
.long sys_inotify_add_watch
.long sys_inotify_rm_watch
+ .long sys_unshare
diff -Naurp 2.6.15-rc5-mm1/include/asm-i386/unistd.h
2.6.15-rc5-mm1+unshare-i386/include/asm-i386/unistd.h
--- 2.6.15-rc5-mm1/include/asm-i386/unistd.h 2005-12-06
21:06:18.000000000 +0000
+++ 2.6.15-rc5-mm1+unshare-i386/include/asm-i386/unistd.h 2005-12-07
15:26:05.000000000 +0000
@@ -299,8 +299,9 @@
#define __NR_inotify_init 291
#define __NR_inotify_add_watch 292
#define __NR_inotify_rm_watch 293
+#define __NR_unshare 294
-#define NR_syscalls 294
+#define NR_syscalls 295
/*
* user-visible error numbers are in the range -1 - -128: see
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/