fchown on blackfin
change ownership of a file
sys_fchown(unsigned int fd, uid_t user, gid_t group)
| number | 95 (0x5f) |
|---|---|
| abi | common |
| entry point | sys_fchown |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | fchown(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 95, the syscall number |
R0 | unsigned int fd |
R1 | uid_t user |
R2 | gid_t group |
R0 | the return value |
Then run excpt 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 93
- x86 95
- arm64 55
- arm 95
- riscv64 55
- ia32 95
- x32 1073741917
- loongarch64 55
- ppc64 95
- ppc 95
- s390x 207
- mips64 5091
- mipsn32 6091
- mipso32 4095
- alpha 123
- arc 55
- cris 95, removed in 4.17
- csky 55
- frv 95, removed in 4.17
- hexagon 55
- ia64 1100, removed in 6.7
- m68k 95
- metag 55, removed in 4.17
- microblaze 95
- mn10300 95, removed in 4.17
- nds32 55, removed in 5.18
- nios2 55
- openrisc 55
- parisc 95
- score 55, removed in 4.17
- sh 95
- sparc 123
- sparc64 123
- tilegx 55, removed in 4.17
- tilepro 55, removed in 4.17
- xtensa 53
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/fchown?kernel=all