syscall.sh / mipso32 / setxattr

setxattr

set an extended attribute value

sys_setxattr(const char *path, const char *name, const void *value, size_t size, int flags)
number4224 (0x1080)
abio32
entry pointsys_setxattr
sinceLinux 5.0
man pagesetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
v04224, the syscall number
a0const char *path
a1const char *name
a2const void *value
a3size_t size
sp+16int flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/setxattr