Skip to contentSkip to conversation

New system call, unshare (i386)

PATCH In review JANAK DESAI 1 participant 1 message Dec 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 New system call, unshare (i386)

[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