syscall.sh / x86 / seccomp

seccomp

operate on Secure Computing state of the process

sys_seccomp(unsigned int op, unsigned int flags, void *uargs)
number354 (0x162)
abii386
entry pointsys_seccomp
sinceLinux 3.17
man pageseccomp(2)
sourceelixir.bootlin.com

Registers

registervalue
eax354, the syscall number
ebxunsigned int op
ecxunsigned int flags
edxvoid *uargs
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/seccomp