Explorar el Código

[PATCH] unshare system call -v5: system call registration for i386

Registers system call for the i386 architecture.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
JANAK DESAI hace 19 años
padre
commit
2da436e00f
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 1 0
      arch/i386/kernel/syscall_table.S
  2. 2 1
      include/asm-i386/unistd.h

+ 1 - 0
arch/i386/kernel/syscall_table.S

@@ -309,3 +309,4 @@ ENTRY(sys_call_table)
 	.long sys_faccessat
 	.long sys_pselect6
 	.long sys_ppoll
+	.long sys_unshare		/* 310 */

+ 2 - 1
include/asm-i386/unistd.h

@@ -315,8 +315,9 @@
 #define __NR_faccessat		307
 #define __NR_pselect6		308
 #define __NR_ppoll		309
+#define __NR_unshare		310
 
-#define NR_syscalls 310
+#define NR_syscalls 311
 
 /*
  * user-visible error numbers are in the range -1 - -128: see