[PATCH -mm 5/9] unshare system call : system call registration for x86_64

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

 



[PATCH -mm 5/9] unshare system call: System call registration for x86_64
                                                                                
Signed-off-by: Janak Desai
                                                                                

 arch/x86_64/ia32/ia32entry.S     |    1 +
 include/asm-x86_64/ia32_unistd.h |    3 ++-
 include/asm-x86_64/unistd.h      |    4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)
 
 
diff -Naurp 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S
2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S
--- 2.6.15-rc5-mm2/arch/x86_64/ia32/ia32entry.S	2005-12-12
03:05:40.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/arch/x86_64/ia32/ia32entry.S	2005-12-12
20:33:22.000000000 +0000
@@ -666,6 +666,7 @@ ia32_sys_call_table:
 	.quad sys_inotify_init
 	.quad sys_inotify_add_watch
 	.quad sys_inotify_rm_watch
+	.quad sys_unshare
 ia32_syscall_end:		
 	.rept IA32_NR_syscalls-(ia32_syscall_end-ia32_sys_call_table)/8
 		.quad ni_syscall
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h
2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/ia32_unistd.h	2005-10-28
00:02:08.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/ia32_unistd.h	2005-12-12
20:35:35.000000000 +0000
@@ -299,7 +299,8 @@
 #define __NR_ia32_inotify_init		291
 #define __NR_ia32_inotify_add_watch	292
 #define __NR_ia32_inotify_rm_watch	293
+#define __NR_ia32_unshare		294
 
-#define IA32_NR_syscalls 294	/* must be > than biggest syscall! */
+#define IA32_NR_syscalls 295	/* must be > than biggest syscall! */
 
 #endif /* _ASM_X86_64_IA32_UNISTD_H_ */
diff -Naurp 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h
2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h
--- 2.6.15-rc5-mm2/include/asm-x86_64/unistd.h	2005-12-12
03:05:58.000000000 +0000
+++ 2.6.15-rc5-mm2+x86_64/include/asm-x86_64/unistd.h	2005-12-12
20:38:12.000000000 +0000
@@ -573,8 +573,10 @@ __SYSCALL(__NR_inotify_add_watch, sys_in
 __SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
 #define __NR_migrate_pages	256
 __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
+#define __NR_unshare		257
+__SYSCALL(__NR_unshare, sys_unshare)
 
-#define __NR_syscall_max __NR_migrate_pages
+#define __NR_syscall_max __NR_unshare
 #ifndef __NO_STUBS
 
 /* user-visible error numbers are in the range -1 - -4095 */


-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux