Browse Source

microblaze: Wire-up seccomp syscall

Add new seccomp syscall.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 11 years ago
parent
commit
b760949144

+ 1 - 0
arch/microblaze/include/uapi/asm/unistd.h

@@ -399,5 +399,6 @@
 #define __NR_sched_setattr	381
 #define __NR_sched_setattr	381
 #define __NR_sched_getattr	382
 #define __NR_sched_getattr	382
 #define __NR_renameat2		383
 #define __NR_renameat2		383
+#define __NR_seccomp		384
 
 
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
 #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */

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

@@ -384,3 +384,4 @@ ENTRY(sys_call_table)
 	.long sys_sched_setattr
 	.long sys_sched_setattr
 	.long sys_sched_getattr
 	.long sys_sched_getattr
 	.long sys_renameat2
 	.long sys_renameat2
+	.long sys_seccomp