setxattr on ia32
set an extended attribute value
sys_setxattr(const char *path, const char *name, const void *value, size_t size, int flags)
| number | 226 (0xe2) |
|---|---|
| abi | i386 |
| entry point | sys_setxattr |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | setxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 226, 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 188
- x86 226
- arm64 5
- arm 226
- riscv64 5
- x32 1073742012
- loongarch64 5
- ppc64 209
- ppc 209
- s390x 224
- mips64 5180
- mipsn32 6180
- mipso32 4224
- alpha 382
- arc 5
- csky 5
- hexagon 5
- m68k 223
- microblaze 226
- nios2 5
- openrisc 5
- parisc 238
- sh 226
- sparc 169
- sparc64 169
- xtensa 68
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/setxattr