umount2 on score
unmount filesystem
sys_umount(char *name, int flags)
| number | 39 (0x27) |
|---|---|
| abi | common |
| entry point | sys_umount |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | umount2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 39, the syscall number |
r4 | char *name |
r5 | int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 166
- x86 52
- arm64 39
- arm 52
- riscv64 39
- ia32 52
- x32 1073741990
- loongarch64 39
- ppc64 52
- ppc 52
- s390x 52
- mips64 5161
- mipsn32 6161
- mipso32 4052
- alpha 22
- arc 39
- blackfin 52, removed in 4.17
- cris 52, removed in 4.17
- csky 39
- frv 52, removed in 4.17
- hexagon 39
- ia64 1044, removed in 6.7
- m32r 52, removed in 4.17
- m68k 52
- metag 39, removed in 4.17
- microblaze 52
- mn10300 52, removed in 4.17
- nds32 39, removed in 5.18
- nios2 39
- openrisc 39
- parisc 52
- sh 52
- sparc 45
- sparc64 45
- tilegx 39, removed in 4.17
- tilepro 39, removed in 4.17
- xtensa 171
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/umount2?kernel=all