From 900e9fd0d5d15c596cacfb89ce007c933cea6e1c Mon Sep 17 00:00:00 2001 From: Lee Campbell Date: Wed, 8 Oct 2014 14:40:22 -0700 Subject: [PATCH] seccomp: fix syscall numbers for x86 and x86_64 Correcting syscall numbers for seccomp Signed-off-by: Lee Campbell --- arch/x86/syscalls/syscall_32.tbl | 5 ++++- arch/x86/syscalls/syscall_64.tbl | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 8605e9e0f19a..01ed50255473 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl @@ -357,4 +357,7 @@ 348 i386 process_vm_writev sys_process_vm_writev compat_sys_process_vm_writev 349 i386 kcmp sys_kcmp 350 i386 finit_module sys_finit_module -351 i386 seccomp sys_seccomp +# 351 i386 sched_setattr sys_sched_setattr +# 352 i386 sched_getattr sys_sched_getattr +# 353 i386 renameat2 sys_renameat2 +354 i386 seccomp sys_seccomp diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index 4cb491567b85..a3c38bbd6f01 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl @@ -320,7 +320,10 @@ 311 64 process_vm_writev sys_process_vm_writev 312 common kcmp sys_kcmp 313 common finit_module sys_finit_module -314 common seccomp sys_seccomp +# 314 common sched_setattr sys_sched_setattr +# 315 common sched_getattr sys_sched_getattr +# 316 common renameat2 sys_renameat2 +317 common seccomp sys_seccomp # # x32-specific system call numbers start at 512 to avoid cache impact -- 2.34.1