syscall.sh / ppc64 / getppid
getppid
get process identification
sys_getppid(void)
| number | 64 (0x40) |
|---|---|
| abi | common |
| entry point | sys_getppid |
| since | Linux 5.0 |
| man page | getppid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 64, the syscall number |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 110
- x86 64
- arm64 173
- arm 64
- riscv64 173
- x32 1073741934
- loongarch64 173
- ppc 64
- s390x 64
- mips64 5108
- mipsn32 6108
- mipso32 4064
- alpha 532
- arc 173
- csky 173
- hexagon 173
- m68k 64
- microblaze 64
- nios2 173
- openrisc 173
- parisc 64
- sh 64
- sparc 197
- sparc64 197
- xtensa 150
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/getppid