syscall.sh / openrisc / getpgid

getpgid

set/get process group

sys_getpgid(pid_t pid)
number155 (0x9b)
abicommon
entry pointsys_getpgid
sinceLinux 3.7
man pagegetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r11155, the syscall number
r3pid_t pid
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/getpgid