fchmodat on score
change permissions of a file
sys_fchmodat(int dfd, const char *filename, umode_t mode)
| number | 53 (0x35) |
|---|---|
| abi | common |
| entry point | sys_fchmodat |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fchmodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 53, the syscall number |
r4 | int dfd |
r5 | const char *filename |
r6 | umode_t mode |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 268
- x86 306
- arm64 53
- arm 333
- riscv64 53
- ia32 306
- x32 1073742092
- loongarch64 53
- ppc64 297
- ppc 297
- s390x 299
- mips64 5258
- mipsn32 6262
- mipso32 4299
- alpha 461
- arc 53
- blackfin 306, removed in 4.17
- cris 306, removed in 4.17
- csky 53
- frv 306, removed in 4.17
- hexagon 53
- ia64 1292, removed in 6.7
- m32r 306, removed in 4.17
- m68k 299
- metag 53, removed in 4.17
- microblaze 306
- mn10300 307, removed in 4.17
- nds32 53, removed in 5.18
- nios2 53
- openrisc 53
- parisc 286
- sh 306
- sparc 295
- sparc64 295
- tilegx 53, removed in 4.17
- tilepro 53, removed in 4.17
- xtensa 300
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fchmodat?kernel=all