syscall.sh / m68k / setns

setns

reassociate thread with a namespace

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

Registers

registervalue
d0344, the syscall number
d1int fd
d2int nstype
d0the 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/m68k/setns