syscall.sh / xtensa / getxattr
getxattr
retrieve an extended attribute value
sys_getxattr(const char *path, const char *name, void *value, size_t size)
| number | 69 (0x45) |
|---|---|
| abi | common |
| entry point | sys_getxattr |
| since | Linux 5.0 |
| man page | getxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 69, the syscall number |
a6 | const char *path |
a3 | const char *name |
a4 | void *value |
a5 | size_t size |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 191
- x86 229
- 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
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/getxattr