syscall.sh / x86 / fsetxattr

fsetxattr

set an extended attribute value

sys_fsetxattr(int fd, const char *name, const void *value, size_t size, int flags)
number228 (0xe4)
abii386
entry pointsys_fsetxattr
sinceLinux 3.3
man pagefsetxattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax228, the syscall number
ebxint fd
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/fsetxattr