syscall.sh / alpha / fgetxattr
fgetxattr
retrieve an extended attribute value
sys_fgetxattr(int fd, const char *name, void *value, size_t size)
| number | 387 (0x183) |
|---|---|
| abi | common |
| entry point | sys_fgetxattr |
| since | Linux 5.0 |
| man page | fgetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 387, the syscall number |
a0 | int fd |
a1 | const char *name |
a2 | void *value |
a3 | size_t size |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 193
- x86 231
- arm64 10
- arm 231
- riscv64 10
- x32 1073742017
- loongarch64 10
- ppc64 214
- ppc 214
- s390x 229
- mips64 5185
- mipsn32 6185
- mipso32 4229
- 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/alpha/fgetxattr