syscall.sh / alpha / getxattr

getxattr

retrieve an extended attribute value

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

Registers

registervalue
v0385, the syscall number
a0const char *path
a1const char *name
a2void *value
a3size_t size
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/getxattr