syscall.sh / m68k / fchown
fchown
change ownership of a file
sys_fchown16(unsigned int fd, old_uid_t user, old_gid_t group)
| number | 95 (0x5f) |
|---|---|
| abi | common |
| entry point | sys_fchown16 |
| since | Linux 5.0 |
| man page | fchown(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 95, the syscall number |
d1 | unsigned int fd |
d2 | old_uid_t user |
d3 | old_gid_t group |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 93
- x86 95
- arm64 55
- arm 95
- riscv64 55
- x32 1073741917
- loongarch64 55
- ppc64 95
- ppc 95
- s390x 207
- mips64 5091
- mipsn32 6091
- mipso32 4095
- alpha 123
- arc 55
- csky 55
- hexagon 55
- microblaze 95
- nios2 55
- openrisc 55
- parisc 95
- sh 95
- sparc 123
- sparc64 123
- xtensa 53
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/fchown