syscall.sh / riscv64 / 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 4.15
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 ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/fsetxattr