fgetxattr on arm64

retrieve an extended attribute value

sys_fgetxattr(int fd, const char *name, void *value, size_t size)
number10 (0xa)
abicommon
entry pointsys_fgetxattr
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagefgetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
x810, the syscall number
x0int fd
x1const char *name
x2void *value
x3size_t size
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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