syscall.sh / ppc64 / fchmodat
fchmodat
change permissions of a file
sys_fchmodat(int dfd, const char *filename, umode_t mode)
| number | 297 (0x129) |
|---|---|
| abi | common |
| entry point | sys_fchmodat |
| since | Linux 5.0 |
| man page | fchmodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 297, the syscall number |
r3 | int dfd |
r4 | const char *filename |
r5 | umode_t mode |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 268
- x86 306
- arm64 53
- arm 333
- riscv64 53
- x32 1073742092
- loongarch64 53
- ppc 297
- s390x 299
- mips64 5258
- mipsn32 6262
- mipso32 4299
- alpha 461
- arc 53
- csky 53
- hexagon 53
- m68k 299
- microblaze 306
- nios2 53
- openrisc 53
- parisc 286
- sh 306
- sparc 295
- sparc64 295
- xtensa 300
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/fchmodat