syscall.sh / x32 / setns

setns

reassociate thread with a namespace

sys_setns(int fd, int nstype)
number1073742132 (0x40000134)
abicommon
entry pointsys_setns
sinceLinux 3.4
man pagesetns(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742132, the syscall number
rdiint fd
rsiint nstype
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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