syscall.sh / hexagon / 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
r6268, the syscall number
r0int fd
r1int nstype
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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