syscall.sh / mipsn32 / umount2
umount2
unmount filesystem
sys_umount(char *name, int flags)
| number | 6161 (0x1811) |
|---|---|
| abi | n32 |
| entry point | sys_umount |
| since | Linux 5.0 |
| man page | umount2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6161, the syscall number |
a0 | char *name |
a1 | int flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 166
- x86 52
- arm64 39
- arm 52
- riscv64 39
- x32 1073741990
- loongarch64 39
- ppc64 52
- ppc 52
- s390x 52
- mips64 5161
- mipso32 4052
- alpha 22
- arc 39
- csky 39
- hexagon 39
- m68k 52
- microblaze 52
- nios2 39
- openrisc 39
- parisc 52
- sh 52
- sparc 45
- sparc64 45
- xtensa 171
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/umount2