syscall.sh / openrisc / fchmodat
fchmodat
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 |
| man page | fchmodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 53, the syscall number |
r3 | int dfd |
r4 | const char *filename |
r5 | umode_t mode |
r11 | the return value |
Then run l.sys 1 to enter the kernel.
Same syscall on other architectures
- x64 268
- x86 306
- arm64 53
- arm 333
- riscv64 53
- x32 1073742092
- loongarch64 53
- ppc64 297
- ppc 297
- s390x 299
- mips64 5258
- mipsn32 6262
- mipso32 4299
- alpha 461
- arc 53
- csky 53
- hexagon 53
- m68k 299
- microblaze 306
- nios2 53
- parisc 286
- sh 306
- sparc 295
- sparc64 295
- xtensa 300
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/fchmodat