syscall.sh / arc / setns

setns

reassociate thread with a namespace

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

Registers

registervalue
r8268, the syscall number
r0int fd
r1int nstype
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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