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