syscall.sh / microblaze / getdents64

getdents64

get directory entries

sys_getdents64(unsigned int fd, struct linux_dirent64 *dirent, unsigned int count)
number220 (0xdc)
abicommon
entry pointsys_getdents64
sinceLinux 5.0
man pagegetdents64(2)
sourceelixir.bootlin.com

Registers

registervalue
r12220, the syscall number
r5unsigned int fd
r6struct linux_dirent64 *dirent
r7unsigned int count
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/getdents64