setns on arm64

reassociate thread with a namespace

sys_setns(int fd, int nstype)
number268 (0x10c)
abicommon
entry pointsys_setns
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagesetns(2)
sourceelixir.bootlin.com

Registers

registervalue
x8268, the syscall number
x0int fd
x1int nstype
x0the 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/arm64/setns