syscall.sh / csky / statmount
statmount
get a mount status
sys_statmount(const struct mnt_id_req *req, struct statmount *buf, size_t bufsize, unsigned int flags)
| number | 457 (0x1c9) |
|---|---|
| abi | common |
| entry point | sys_statmount |
| since | Linux 6.8 |
| man page | statmount(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 457, the syscall number |
a0 | const struct mnt_id_req *req |
a1 | struct statmount *buf |
a2 | size_t bufsize |
a3 | unsigned int flags |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 457
- x86 457
- arm64 457
- arm 457
- riscv64 457
- x32 1073742281
- loongarch64 457
- ppc64 457
- ppc 457
- s390x 457
- mips64 5457
- mipsn32 6457
- mipso32 4457
- alpha 567
- arc 457
- hexagon 457
- m68k 457
- microblaze 457
- nios2 457
- openrisc 457
- parisc 457
- sh 457
- sparc 457
- sparc64 457
- xtensa 457
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/statmount