syscall.sh / x32 / setxattr

setxattr

set an extended attribute value

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

Registers

registervalue
rax1073742012, 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/x32/setxattr