syscall.sh / loongarch64 / fsetxattr

fsetxattr

set an extended attribute value

sys_fsetxattr(int fd, const char *name, const void *value, size_t size, int flags)
number7 (0x7)
abicommon
entry pointsys_fsetxattr
sinceLinux 5.19
man pagefsetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a77, the syscall number
a0int fd
a1const char *name
a2const void *value
a3size_t size
a4int flags
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/fsetxattr