syscall.sh / mipsn32 / fchmodat
fchmodat
change permissions of a file
sys_fchmodat(int dfd, const char *filename, umode_t mode)
| number | 6262 (0x1876) |
|---|---|
| abi | n32 |
| entry point | sys_fchmodat |
| since | Linux 5.0 |
| man page | fchmodat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6262, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | umode_t mode |
v0 | the return value |
Then run syscall 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
- 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/mipsn32/fchmodat