getdents on ia64
get directory entries
sys_getdents(unsigned int fd, struct linux_dirent *dirent, unsigned int count)
| number | 1144 (0x478) |
|---|---|
| abi | common |
| entry point | sys_getdents |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | getdents(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1144, the syscall number |
out0 | unsigned int fd |
out1 | struct linux_dirent *dirent |
out2 | unsigned int count |
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 78
- x86 141
- arm 141
- ia32 141
- x32 1073741902
- ppc64 141
- ppc 141
- s390x 141
- mips64 5076
- mipsn32 6076
- mipso32 4141
- alpha 305
- blackfin 141, removed in 4.17
- cris 141, removed in 4.17
- frv 141, removed in 4.17
- m32r 141, removed in 4.17
- m68k 141
- microblaze 141
- mn10300 141, removed in 4.17
- parisc 141
- score 1065, removed in 4.17
- sh 141
- sparc 174
- sparc64 174
- xtensa 59
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/getdents?kernel=all