syscall.sh / x86 / getxattr
getxattr
retrieve an extended attribute value
sys_getxattr(const char *path, const char *name, void *value, size_t size)
| number | 229 (0xe5) |
|---|---|
| abi | i386 |
| entry point | sys_getxattr |
| since | Linux 3.3 |
| man page | getxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 229, the syscall number |
ebx | const char *path |
ecx | const char *name |
edx | void *value |
esi | size_t size |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 191
- arm64 8
- arm 229
- riscv64 8
- x32 1073742015
- loongarch64 8
- ppc64 212
- ppc 212
- s390x 227
- mips64 5183
- mipsn32 6183
- mipso32 4227
- alpha 385
- arc 8
- csky 8
- hexagon 8
- m68k 226
- microblaze 229
- nios2 8
- openrisc 8
- parisc 241
- sh 229
- sparc 172
- sparc64 172
- xtensa 69
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getxattr