syscall.sh / sparc64 / mount
mount
mount filesystem
sys_mount(char *dev_name, char *dir_name, char *type, unsigned long flags, void *data)
| number | 167 (0xa7) |
|---|---|
| abi | common |
| entry point | sys_mount |
| since | Linux 5.0 |
| man page | mount(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 167, the syscall number |
o0 | char *dev_name |
o1 | char *dir_name |
o2 | char *type |
o3 | unsigned long flags |
o4 | void *data |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 165
- x86 21
- arm64 40
- arm 21
- riscv64 40
- x32 1073741989
- loongarch64 40
- ppc64 21
- ppc 21
- s390x 21
- mips64 5160
- mipsn32 6160
- mipso32 4021
- alpha 302
- arc 40
- csky 40
- hexagon 40
- m68k 21
- microblaze 21
- nios2 40
- openrisc 40
- parisc 21
- sh 21
- sparc 167
- xtensa 172
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/mount