syscall.sh / alpha / setns

setns

reassociate thread with a namespace

sys_setns(int fd, int nstype)
number501 (0x1f5)
abicommon
entry pointsys_setns
sinceLinux 5.0
man pagesetns(2)
sourceelixir.bootlin.com

Registers

registervalue
v0501, the syscall number
a0int fd
a1int nstype
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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