syscall.sh / loongarch64 / 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 5.19
man pagefgetxattr(2)
sourceelixir.bootlin.com

Registers

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

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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