syscall.sh / riscv64 / getxattr

getxattr

retrieve an extended attribute value

sys_getxattr(const char *path, const char *name, void *value, size_t size)
number8 (0x8)
abicommon
entry pointsys_getxattr
sinceLinux 4.15
man pagegetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a78, the syscall number
a0const char *path
a1const char *name
a2void *value
a3size_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/getxattr