syscall.sh / riscv64 / listxattr

listxattr

list extended attribute names

sys_listxattr(const char *path, char *list, size_t size)
number11 (0xb)
abicommon
entry pointsys_listxattr
sinceLinux 4.15
man pagelistxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a711, the syscall number
a0const char *path
a1char *list
a2size_t size
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/listxattr