syscall.sh / x86 / 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)
abii386
entry pointsys_setxattr
sinceLinux 3.3
man pagesetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax226, the syscall number
ebxconst char *path
ecxconst char *name
edxconst void *value
esisize_t size
ediint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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