syscall.sh / parisc / getdents

getdents

get directory entries

sys_getdents(unsigned int fd, struct linux_dirent *dirent, unsigned int count)
number141 (0x8d)
abicommon
entry pointsys_getdents
sinceLinux 5.0
man pagegetdents(2)
sourceelixir.bootlin.com

Registers

registervalue
r20141, the syscall number
r26unsigned int fd
r25struct linux_dirent *dirent
r24unsigned int count
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/getdents