syscall.sh / x86 / fgetxattr
fgetxattr
retrieve an extended attribute value
sys_fgetxattr(int fd, const char *name, void *value, size_t size)
| number | 231 (0xe7) |
|---|---|
| abi | i386 |
| entry point | sys_fgetxattr |
| since | Linux 3.3 |
| man page | fgetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 231, the syscall number |
ebx | int fd |
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 193
- arm64 10
- arm 231
- riscv64 10
- x32 1073742017
- loongarch64 10
- ppc64 214
- ppc 214
- s390x 229
- mips64 5185
- mipsn32 6185
- mipso32 4229
- alpha 387
- arc 10
- csky 10
- hexagon 10
- m68k 228
- microblaze 231
- nios2 10
- openrisc 10
- parisc 243
- sh 231
- sparc 177
- sparc64 177
- xtensa 77
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/fgetxattr