syscall.sh / openrisc / setpgid

setpgid

set/get process group

sys_setpgid(pid_t pid, pid_t pgid)
number154 (0x9a)
abicommon
entry pointsys_setpgid
sinceLinux 3.7
man pagesetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r11154, the syscall number
r3pid_t pid
r4pid_t pgid
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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