syscall.sh / ppc64 / setpgid

setpgid

set/get process group

sys_setpgid(pid_t pid, pid_t pgid)
number57 (0x39)
abicommon
entry pointsys_setpgid
sinceLinux 5.0
man pagesetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r057, the syscall number
r3pid_t pid
r4pid_t pgid
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/setpgid