syscall.sh / sh / seccomp

seccomp

operate on Secure Computing state of the process

sys_seccomp(unsigned int op, unsigned int flags, void *uargs)
number372 (0x174)
abicommon
entry pointsys_seccomp
sinceLinux 5.0
man pageseccomp(2)
sourceelixir.bootlin.com

Registers

registervalue
r3372, the syscall number
r4unsigned int op
r5unsigned int flags
r6void *uargs
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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