syscall.sh / alpha / umount
umount
unmount filesystem
sys_umount(char *name, int flags)
This syscall was removed in Linux 5.1.
| number | 22 (0x16) |
|---|---|
| abi | common |
| entry point | sys_umount |
| since | Linux 5.0 |
| removed in | Linux 5.1 |
| man page | umount(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 22, the syscall number |
a0 | char *name |
a1 | int flags |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/umount