syscall.sh / x86 / listns

listns

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

Registers

registervalue
eax470, the syscall number
ebxconst struct ns_id_req *req
ecxu64 *ns_ids
edxsize_t nr_ns_ids
esiunsigned int flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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