syscall.sh / s390x / setns

setns

reassociate thread with a namespace

sys_setns(int fd, int nstype)
number339 (0x153)
abicommon
entry pointsys_setns
sinceLinux 4.16
man pagesetns(2)
sourceelixir.bootlin.com

Registers

registervalue
r1339, the syscall number
r2int fd
r3int nstype
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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