syscall.sh / alpha / fchownat
fchownat
change ownership of a file
sys_fchownat(int dfd, const char *filename, uid_t user, gid_t group, int flag)
| number | 453 (0x1c5) |
|---|---|
| abi | common |
| entry point | sys_fchownat |
| since | Linux 5.0 |
| man page | fchownat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 453, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | uid_t user |
a3 | gid_t group |
a4 | int flag |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 260
- x86 298
- arm64 54
- arm 325
- riscv64 54
- x32 1073742084
- loongarch64 54
- ppc64 289
- ppc 289
- s390x 291
- mips64 5250
- mipsn32 6254
- mipso32 4291
- arc 54
- csky 54
- hexagon 54
- m68k 291
- microblaze 298
- nios2 54
- openrisc 54
- parisc 278
- sh 298
- sparc 287
- sparc64 287
- xtensa 297
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/fchownat