syscall.sh / riscv64 / 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
a7470, the syscall number
a0const struct ns_id_req *req
a1u64 *ns_ids
a2size_t nr_ns_ids
a3unsigned int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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