syscall.sh / sparc64 / umask
umask
set file mode creation mask
sys_umask(int mask)
| number | 60 (0x3c) |
|---|---|
| abi | common |
| entry point | sys_umask |
| since | Linux 5.0 |
| man page | umask(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 60, the syscall number |
o0 | int mask |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 95
- x86 60
- arm64 166
- arm 60
- riscv64 166
- x32 1073741919
- loongarch64 166
- ppc64 60
- ppc 60
- s390x 60
- mips64 5093
- mipsn32 6093
- mipso32 4060
- alpha 60
- arc 166
- csky 166
- hexagon 166
- m68k 60
- microblaze 60
- nios2 166
- openrisc 166
- parisc 60
- sh 60
- sparc 60
- xtensa 58
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/umask