syscall.sh / x86 / listmount

listmount

get a list of mount ID's

sys_listmount(const struct mnt_id_req *req, u64 *mnt_ids, size_t nr_mnt_ids, unsigned int flags)
number458 (0x1ca)
abii386
entry pointsys_listmount
sinceLinux 6.8
man pagelistmount(2)
sourceelixir.bootlin.com

Registers

registervalue
eax458, the syscall number
ebxconst struct mnt_id_req *req
ecxu64 *mnt_ids
edxsize_t nr_mnt_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/listmount