syscall.sh / sparc / fchown32
fchown32
change ownership of a file
sys_fchown(unsigned int fd, uid_t user, gid_t group)
| number | 32 (0x20) |
|---|---|
| abi | 32 |
| entry point | sys_fchown |
| since | Linux 5.0 |
| man page | fchown32(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 32, the syscall number |
o0 | unsigned int fd |
o1 | uid_t user |
o2 | gid_t group |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x86 207
- arm 207
- m68k 207
- microblaze 207
- sh 207
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/fchown32