syscall.sh / nios2 / 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 3.19
man pagesetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
r25, the syscall number
r4const char *path
r5const char *name
r6const void *value
r7size_t size
r8int flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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