syscall.sh / s390x / fgetxattr
fgetxattr
retrieve an extended attribute value
sys_fgetxattr(int fd, const char *name, void *value, size_t size)
| number | 229 (0xe5) |
|---|---|
| abi | common |
| entry point | sys_fgetxattr |
| since | Linux 4.16 |
| man page | fgetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 229, the syscall number |
r2 | int fd |
r3 | const char *name |
r4 | void *value |
r5 | size_t size |
r2 | the return value |
Then run svc 0 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
- mips64 5185
- mipsn32 6185
- mipso32 4229
- alpha 387
- 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/s390x/fgetxattr