syscall.sh / csky / setns

setns

reassociate thread with a namespace

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

Registers

registervalue
r7268, the syscall number
a0int fd
a1int nstype
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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