syscall.sh / x32 / fchmodat2
fchmodat2
sys_fchmodat2(int dfd, const char *filename, umode_t mode, unsigned int flags)
| number | 1073742276 (0x400001c4) |
|---|---|
| abi | common |
| entry point | sys_fchmodat2 |
| since | Linux 6.6 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742276, the syscall number |
rdi | int dfd |
rsi | const char *filename |
rdx | umode_t mode |
r10 | unsigned int flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 452
- x86 452
- arm64 452
- arm 452
- riscv64 452
- loongarch64 452
- ppc64 452
- ppc 452
- s390x 452
- mips64 5452
- mipsn32 6452
- mipso32 4452
- alpha 562
- arc 452
- csky 452
- hexagon 452
- m68k 452
- microblaze 452
- nios2 452
- openrisc 452
- parisc 452
- sh 452
- sparc 452
- sparc64 452
- xtensa 452
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/fchmodat2