fcntl64 on frv
manipulate file descriptor
sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg)
| number | 221 (0xdd) |
|---|---|
| abi | common |
| entry point | sys_fcntl64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | fcntl64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 221, the syscall number |
gr8 | unsigned int fd |
gr9 | unsigned int cmd |
gr10 | unsigned long arg |
gr8 | the return value |
Then run tira gr0, 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
- x86 221
- arm 221
- ia32 221
- ppc 204
- mipsn32 6212
- mipso32 4220
- arc 25
- blackfin 221, removed in 4.17
- cris 221, removed in 4.17
- csky 25
- hexagon 25
- m32r 221, removed in 4.17
- m68k 239
- metag 25, removed in 4.17
- microblaze 221
- mn10300 221, removed in 4.17
- nds32 25, removed in 5.18
- nios2 25
- openrisc 25
- parisc 202
- score 25, removed in 4.17
- sh 221
- sparc 155
- tilepro 25, removed in 4.17
- xtensa 61
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/fcntl64?kernel=all