syscall.sh / sh / listns

listns

sys_listns(const struct ns_id_req *req, u64 *ns_ids, size_t nr_ns_ids, unsigned int flags)
number470 (0x1d6)
abicommon
entry pointsys_listns
sinceLinux 6.19
sourceelixir.bootlin.com

Registers

registervalue
r3470, the syscall number
r4const struct ns_id_req *req
r5u64 *ns_ids
r6size_t nr_ns_ids
r7unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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