syscall.sh / x64 / setxattr

setxattr

set an extended attribute value

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

Registers

registervalue
rax188, the syscall number
rdiconst char *path
rsiconst char *name
rdxconst void *value
r10size_t size
r8int flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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