fchownat on mn10300
change ownership of a file
sys_fchownat(int dfd, const char *filename, uid_t user, gid_t group, int flag)
| number | 299 (0x12b) |
|---|---|
| abi | common |
| entry point | sys_fchownat |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | fchownat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 299, the syscall number |
a0 | int dfd |
d1 | const char *filename |
a3 | uid_t user |
a2 | gid_t group |
d3 | int flag |
d0 | the return value |
Then run syscall 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
- blackfin 298, removed in 4.17
- 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
- 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/mn10300/fchownat?kernel=all