syscall.sh / s390x / setpgid

setpgid

set/get process group

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

Registers

registervalue
r157, the syscall number
r2pid_t pid
r3pid_t pgid
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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