umask on ia32
set file mode creation mask
sys_umask(int mask)
| number | 60 (0x3c) |
|---|---|
| abi | i386 |
| entry point | sys_umask |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | umask(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 60, the syscall number |
ebx | int mask |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
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
- sparc64 60
- xtensa 58
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/umask