syscall.sh / sh / getxattr

getxattr

retrieve an extended attribute value

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

Registers

registervalue
r3229, the syscall number
r4const char *path
r5const char *name
r6void *value
r7size_t size
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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