syscall.sh / sparc64 / getxattr
getxattr
retrieve an extended attribute value
sys_getxattr(const char *path, const char *name, void *value, size_t size)
| number | 172 (0xac) |
|---|---|
| abi | common |
| entry point | sys_getxattr |
| since | Linux 5.0 |
| man page | getxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 172, the syscall number |
o0 | const char *path |
o1 | const char *name |
o2 | void *value |
o3 | size_t size |
o0 | the return value |
Then run t 0x6d 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
- xtensa 69
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/getxattr