syscall.sh / openrisc / setns

setns

reassociate thread with a namespace

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

Registers

registervalue
r11268, the syscall number
r3int fd
r4int nstype
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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