syscall.sh / sparc64 / fchownat
fchownat
change ownership of a file
sys_fchownat(int dfd, const char *filename, uid_t user, gid_t group, int flag)
| number | 287 (0x11f) |
|---|---|
| abi | common |
| entry point | sys_fchownat |
| since | Linux 5.0 |
| man page | fchownat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 287, the syscall number |
o0 | int dfd |
o1 | const char *filename |
o2 | uid_t user |
o3 | gid_t group |
o4 | int flag |
o0 | the return value |
Then run t 0x6d 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
- alpha 453
- arc 54
- csky 54
- hexagon 54
- m68k 291
- microblaze 298
- nios2 54
- openrisc 54
- parisc 278
- sh 298
- sparc 287
- xtensa 297
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/fchownat