syscall.sh / sh / setxattr

setxattr

set an extended attribute value

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

Registers

registervalue
r3226, the syscall number
r4const char *path
r5const char *name
r6const void *value
r7size_t size
r0int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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