syscall.sh / parisc / 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
r2057, the syscall number
r26pid_t pid
r25pid_t pgid
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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