chmod on ia64
change permissions of a file
sys_chmod(const char *filename, umode_t mode)
| number | 1038 (0x40e) |
|---|---|
| abi | common |
| entry point | sys_chmod |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | chmod(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1038, the syscall number |
out0 | const char *filename |
out1 | umode_t mode |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 90
- x86 15
- arm 15
- ia32 15
- x32 1073741914
- ppc64 15
- ppc 15
- s390x 15
- mips64 5088
- mipsn32 6088
- mipso32 4015
- alpha 15
- blackfin 15, removed in 4.17
- cris 15, removed in 4.17
- frv 15, removed in 4.17
- m32r 15, removed in 4.17
- m68k 15
- microblaze 15
- mn10300 15, removed in 4.17
- parisc 15
- score 1028, removed in 4.17
- sh 15
- sparc 15
- sparc64 15
- xtensa 44
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/chmod?kernel=all