syscall.sh / arc / 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)
| number | 458 (0x1ca) |
|---|---|
| abi | common |
| entry point | sys_listmount |
| since | Linux 6.8 |
| man page | listmount(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 458, the syscall number |
r0 | const struct mnt_id_req *req |
r1 | u64 *mnt_ids |
r2 | size_t nr_mnt_ids |
r3 | unsigned int flags |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x64 458
- x86 458
- arm64 458
- arm 458
- riscv64 458
- x32 1073742282
- loongarch64 458
- ppc64 458
- ppc 458
- s390x 458
- mips64 5458
- mipsn32 6458
- mipso32 4458
- alpha 568
- csky 458
- hexagon 458
- m68k 458
- microblaze 458
- nios2 458
- openrisc 458
- parisc 458
- sh 458
- sparc 458
- sparc64 458
- xtensa 458
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/listmount