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