syscall.sh / csky / fgetxattr

fgetxattr

retrieve an extended attribute value

sys_fgetxattr(int fd, const char *name, void *value, size_t size)
number10 (0xa)
abicommon
entry pointsys_fgetxattr
sinceLinux 4.20
man pagefgetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
r710, the syscall number
a0int fd
a1const char *name
a2void *value
a3size_t size
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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