diff -Naurp linux-2.6.12/arch/i386/kernel/syscall_table.S linux-2.6.12-unshare-p2/arch/i386/kernel/syscall_table.S --- linux-2.6.12/arch/i386/kernel/syscall_table.S 2005-06-17 19:48:29.000000000 +0000 +++ linux-2.6.12-unshare-p2/arch/i386/kernel/syscall_table.S 2005-06-22 13:20:44.000000000 +0000 @@ -289,3 +289,4 @@ ENTRY(sys_call_table) .long sys_add_key .long sys_request_key .long sys_keyctl + .long sys_unshare diff -Naurp linux-2.6.12/include/asm-i386/unistd.h linux-2.6.12-unshare-p2/include/asm-i386/unistd.h --- linux-2.6.12/include/asm-i386/unistd.h 2005-06-17 19:48:29.000000000 +0000 +++ linux-2.6.12-unshare-p2/include/asm-i386/unistd.h 2005-06-22 13:22:22.000000000 +0000 @@ -294,8 +294,9 @@ #define __NR_add_key 286 #define __NR_request_key 287 #define __NR_keyctl 288 +#define __NR_unshare 289 -#define NR_syscalls 289 +#define NR_syscalls 290 /* * user-visible error numbers are in the range -1 - -128: see diff -Naurp linux-2.6.12/include/linux/syscalls.h linux-2.6.12-unshare-p2/include/linux/syscalls.h --- linux-2.6.12/include/linux/syscalls.h 2005-06-17 19:48:29.000000000 +0000 +++ linux-2.6.12-unshare-p2/include/linux/syscalls.h 2005-06-22 13:24:09.000000000 +0000 @@ -505,4 +505,6 @@ asmlinkage long sys_request_key(const ch asmlinkage long sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); +asmlinkage long sys_unshare(unsigned long unshare_flags); + #endif