syscall.sh / x86 / lsetxattr

lsetxattr

set an extended attribute value

sys_lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags)
number227 (0xe3)
abii386
entry pointsys_lsetxattr
sinceLinux 3.3
man pagelsetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax227, 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/lsetxattr