syscall.sh / ppc64 / getpgid
getpgid
set/get process group
sys_getpgid(pid_t pid)
| number | 132 (0x84) |
|---|---|
| abi | common |
| entry point | sys_getpgid |
| since | Linux 5.0 |
| man page | getpgid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 132, the syscall number |
r3 | pid_t pid |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 121
- x86 132
- arm64 155
- arm 132
- riscv64 155
- x32 1073741945
- loongarch64 155
- ppc 132
- s390x 132
- mips64 5119
- mipsn32 6119
- mipso32 4132
- alpha 233
- arc 155
- csky 155
- hexagon 155
- m68k 132
- microblaze 132
- nios2 155
- openrisc 155
- parisc 132
- sh 132
- sparc 224
- sparc64 224
- xtensa 149
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/getpgid