syscall.sh / loongarch64 / setxattr

setxattr

set an extended attribute value

sys_setxattr(const char *path, const char *name, const void *value, size_t size, int flags)
number5 (0x5)
abicommon
entry pointsys_setxattr
sinceLinux 5.19
man pagesetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a75, the syscall number
a0const char *path
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/setxattr