umask on cris
set file mode creation mask
sys_umask(int mask)
| number | 60 (0x3c) |
|---|---|
| abi | common |
| entry point | sys_umask |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for cris) |
| man page | umask(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 60, the syscall number |
r10 | int mask |
r10 | the return value |
Then run break 13 to enter the kernel.
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
- 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
- tilepro 166, removed in 4.17
- xtensa 58
Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/umask?kernel=all