fcntl on ia64
manipulate file descriptor
sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
| number | 1066 (0x42a) |
|---|---|
| abi | common |
| entry point | sys_fcntl |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | fcntl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1066, the syscall number |
out0 | unsigned int fd |
out1 | unsigned int cmd |
out2 | unsigned long arg |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 72
- x86 55
- arm64 25
- arm 55
- riscv64 25
- ia32 55
- x32 1073741896
- loongarch64 25
- ppc64 55
- ppc 55
- s390x 55
- mips64 5070
- mipsn32 6070
- mipso32 4055
- alpha 92
- blackfin 55, removed in 4.17
- cris 55, removed in 4.17
- frv 55, removed in 4.17
- m68k 55
- microblaze 55
- mn10300 55, removed in 4.17
- parisc 55
- score 1052, removed in 4.17
- sh 55
- sparc 92
- sparc64 92
- tilegx 25, removed in 4.17
- xtensa 67
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/fcntl?kernel=all