syscall.sh / s390x / umount
umount
unmount filesystem
sys_oldumount(char *name)
| number | 22 (0x16) |
|---|---|
| abi | common |
| entry point | sys_oldumount |
| since | Linux 4.16 |
| man page | umount(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 22, the syscall number |
r2 | char *name |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
- x86 22
- ppc 22
- mipso32 4022
- alpha 22, removed in 5.1
- m68k 22
- microblaze 22
- sh 22
- sparc 159
- sparc64 159
- xtensa 176
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/umount