seccomp on metag
operate on Secure Computing state of the process
sys_seccomp(unsigned int op, unsigned int flags, const char *uargs)
| number | 277 (0x115) |
|---|---|
| abi | common |
| kconfig | CONFIG_SECCOMP |
| entry point | sys_seccomp |
| since | Linux 3.17 |
| man page | seccomp(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 277, the syscall number |
D1Ar1 | unsigned int op |
D0Ar2 | unsigned int flags |
D1Ar3 | const char *uargs |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 317
- x86 354
- arm64 277
- arm 383
- riscv64 277
- ia32 354
- x32 1073742141
- loongarch64 277
- ppc64 358
- ppc 358
- s390x 348
- mips64 5312
- mipsn32 6316
- mipso32 4352
- alpha 514
- arc 277
- blackfin 388, removed in 4.17
- cris 355, removed in 4.17
- csky 277
- hexagon 277
- ia64 1353, removed in 6.7
- m68k 380
- microblaze 384
- nds32 277, removed in 5.18
- nios2 277
- openrisc 277
- parisc 338
- score 277, removed in 4.17
- sh 372
- sparc 346
- sparc64 346
- tilegx 277, removed in 4.17
- tilepro 277, removed in 4.17
- xtensa 337
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/seccomp?kernel=all