syscall.sh / mips64 / setns
setns
reassociate thread with a namespace
sys_setns(int fd, int nstype)
| number | 5303 (0x14b7) |
|---|---|
| abi | n64 |
| entry point | sys_setns |
| since | Linux 5.0 |
| man page | setns(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5303, the syscall number |
a0 | int fd |
a1 | int nstype |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 308
- x86 346
- arm64 268
- arm 375
- riscv64 268
- x32 1073742132
- loongarch64 268
- ppc64 350
- ppc 350
- s390x 339
- mipsn32 6308
- mipso32 4344
- alpha 501
- arc 268
- csky 268
- hexagon 268
- m68k 344
- microblaze 375
- nios2 268
- openrisc 268
- parisc 328
- sh 364
- sparc 337
- sparc64 337
- xtensa 308
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/setns