fchmodat on frv
change permissions of a file
sys_fchmodat(int dfd, const char *filename, umode_t mode)
| number | 306 (0x132) |
|---|---|
| abi | common |
| entry point | sys_fchmodat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | fchmodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 306, the syscall number |
gr8 | int dfd |
gr9 | const char *filename |
gr10 | umode_t mode |
gr8 | the return value |
Then run tira gr0, 0 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 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
- 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
- score 53, removed in 4.17
- 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/frv/fchmodat?kernel=all