syscall.sh / csky / getpgid

getpgid

set/get process group

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

Registers

registervalue
r7155, the syscall number
a0pid_t pid
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/getpgid