syscall.sh / arm64 / 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 3.7
man pagefsetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
x87, the syscall number
x0int fd
x1const char *name
x2const void *value
x3size_t size
x4int flags
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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