syscall.sh / parisc / getdents64
getdents64
get directory entries
sys_getdents64(unsigned int fd, struct linux_dirent64 *dirent, unsigned int count)
| number | 201 (0xc9) |
|---|---|
| abi | common |
| entry point | sys_getdents64 |
| since | Linux 5.0 |
| man page | getdents64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 201, the syscall number |
r26 | unsigned int fd |
r25 | struct linux_dirent64 *dirent |
r24 | unsigned int count |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 217
- x86 220
- arm64 61
- arm 217
- riscv64 61
- x32 1073742041
- loongarch64 61
- ppc64 202
- ppc 202
- s390x 220
- mips64 5308
- mipsn32 6299
- mipso32 4219
- alpha 377
- arc 61
- csky 61
- hexagon 61
- m68k 220
- microblaze 220
- nios2 61
- openrisc 61
- sh 220
- sparc 154
- sparc64 154
- xtensa 60
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/getdents64