syscall.sh / x86 / seccomp
seccomp
operate on Secure Computing state of the process
sys_seccomp(unsigned int op, unsigned int flags, void *uargs)
| number | 354 (0x162) |
|---|---|
| abi | i386 |
| entry point | sys_seccomp |
| since | Linux 3.17 |
| man page | seccomp(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 354, the syscall number |
ebx | unsigned int op |
ecx | unsigned int flags |
edx | void *uargs |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 317
- arm64 277
- arm 383
- riscv64 277
- x32 1073742141
- loongarch64 277
- ppc64 358
- ppc 358
- s390x 348
- mips64 5312
- mipsn32 6316
- mipso32 4352
- alpha 514
- arc 277
- csky 277
- hexagon 277
- m68k 380
- microblaze 384
- nios2 277
- openrisc 277
- parisc 338
- sh 372
- sparc 346
- sparc64 346
- xtensa 337
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/seccomp