syscall.sh / ppc / getxattr
getxattr
retrieve an extended attribute value
sys_getxattr(const char *path, const char *name, void *value, size_t size)
| number | 212 (0xd4) |
|---|---|
| abi | common |
| entry point | sys_getxattr |
| since | Linux 5.0 |
| man page | getxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 212, the syscall number |
r3 | const char *path |
r4 | const char *name |
r5 | void *value |
r6 | size_t size |
r3 | the return value |
Then run sc 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
- 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
- xtensa 69
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/getxattr