fchownat on blackfin
change ownership of a file
sys_fchownat(int dfd, const char *filename, uid_t user, gid_t group, int flag)
| number | 298 (0x12a) |
|---|---|
| abi | common |
| entry point | sys_fchownat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | fchownat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 298, the syscall number |
R0 | int dfd |
R1 | const char *filename |
R2 | uid_t user |
R3 | gid_t group |
R4 | int flag |
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 260
- x86 298
- arm64 54
- arm 325
- riscv64 54
- ia32 298
- x32 1073742084
- loongarch64 54
- ppc64 289
- ppc 289
- s390x 291
- mips64 5250
- mipsn32 6254
- mipso32 4291
- alpha 453
- arc 54
- cris 298, removed in 4.17
- csky 54
- frv 298, removed in 4.17
- hexagon 54
- ia64 1284, removed in 6.7
- m32r 298, removed in 4.17
- m68k 291
- metag 54, removed in 4.17
- microblaze 298
- mn10300 299, removed in 4.17
- nds32 54, removed in 5.18
- nios2 54
- openrisc 54
- parisc 278
- score 54, removed in 4.17
- sh 298
- sparc 287
- sparc64 287
- tilegx 54, removed in 4.17
- tilepro 54, removed in 4.17
- xtensa 297
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/fchownat?kernel=all