mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
seccomp: fix syscall numbers for x86 and x86_64
Correcting syscall numbers for seccomp Signed-off-by: Lee Campbell <leecam@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user