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)
| number | 228 (0xe4) |
|---|---|
| abi | i386 |
| entry point | sys_fsetxattr |
| since | Linux 3.3 |
| man page | fsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 228, the syscall number |
ebx | int fd |
ecx | const char *name |
edx | const void *value |
esi | size_t size |
edi | int flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 190
- arm64 7
- arm 228
- riscv64 7
- x32 1073742014
- loongarch64 7
- ppc64 211
- ppc 211
- s390x 226
- mips64 5182
- mipsn32 6182
- mipso32 4226
- alpha 384
- arc 7
- csky 7
- hexagon 7
- m68k 225
- microblaze 228
- nios2 7
- openrisc 7
- parisc 240
- sh 228
- sparc 171
- sparc64 171
- xtensa 76
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/fsetxattr