syscall.sh / nios2 / setns

setns

reassociate thread with a namespace

sys_setns(int fd, int nstype)
number268 (0x10c)
abicommon
entry pointsys_setns
sinceLinux 3.19
man pagesetns(2)
sourceelixir.bootlin.com

Registers

registervalue
r2268, the syscall number
r4int fd
r5int nstype
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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