lsetxattr on ia32
set an extended attribute value
sys_lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags)
| number | 227 (0xe3) |
|---|---|
| abi | i386 |
| entry point | sys_lsetxattr |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | lsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 227, the syscall number |
ebx | const char *path |
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.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 189
- x86 227
- arm64 6
- arm 227
- riscv64 6
- x32 1073742013
- loongarch64 6
- ppc64 210
- ppc 210
- s390x 225
- mips64 5181
- mipsn32 6181
- mipso32 4225
- alpha 383
- arc 6
- csky 6
- hexagon 6
- m68k 224
- microblaze 227
- nios2 6
- openrisc 6
- parisc 239
- sh 227
- sparc 170
- sparc64 170
- xtensa 72
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/lsetxattr