umask on tilepro
set file mode creation mask
sys_umask(int mask)
| number | 166 (0xa6) |
|---|---|
| abi | common |
| entry point | sys_umask |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | umask(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 166, the syscall number |
r0 | int mask |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 95
- x86 60
- arm64 166
- arm 60
- riscv64 166
- ia32 60
- x32 1073741919
- loongarch64 166
- ppc64 60
- ppc 60
- s390x 60
- mips64 5093
- mipsn32 6093
- mipso32 4060
- alpha 60
- arc 166
- blackfin 60, removed in 4.17
- cris 60, removed in 4.17
- csky 166
- frv 60, removed in 4.17
- hexagon 166
- ia64 1067, removed in 6.7
- m32r 60, removed in 4.17
- m68k 60
- metag 166, removed in 4.17
- microblaze 60
- mn10300 60, removed in 4.17
- nds32 166, removed in 5.18
- nios2 166
- openrisc 166
- parisc 60
- score 166, removed in 4.17
- sh 60
- sparc 60
- sparc64 60
- tilegx 166, removed in 4.17
- xtensa 58
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/umask?kernel=all