[PATCH 2/2] (repost) New System call, unshare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




[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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux