fgetxattr on score
retrieve an extended attribute value
sys_fgetxattr(int fd, const char *name, void *value, size_t size)
| number | 10 (0xa) |
|---|---|
| abi | common |
| entry point | sys_fgetxattr |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fgetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 10, the syscall number |
r4 | int fd |
r5 | const char *name |
r6 | void *value |
r7 | size_t size |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 193
- x86 231
- arm64 10
- arm 231
- riscv64 10
- ia32 231
- x32 1073742017
- loongarch64 10
- ppc64 214
- ppc 214
- s390x 229
- mips64 5185
- mipsn32 6185
- mipso32 4229
- alpha 387
- arc 10
- blackfin 231, removed in 4.17
- cris 231, removed in 4.17
- csky 10
- frv 231, removed in 4.17
- hexagon 10
- ia64 1222, removed in 6.7
- m32r 231, removed in 4.17
- m68k 228
- metag 10, removed in 4.17
- microblaze 231
- mn10300 231, removed in 4.17
- nds32 10, removed in 5.18
- nios2 10
- openrisc 10
- parisc 243
- sh 231
- sparc 177
- sparc64 177
- tilegx 10, removed in 4.17
- tilepro 10, removed in 4.17
- xtensa 77
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fgetxattr?kernel=all