syscall.sh / sh / 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)
abicommon
entry pointsys_listmount
sinceLinux 6.8
man pagelistmount(2)
sourceelixir.bootlin.com

Registers

registervalue
r3458, the syscall number
r4const struct mnt_id_req *req
r5u64 *mnt_ids
r6size_t nr_mnt_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/listmount