syscall.sh / x86 / getpgid

getpgid

set/get process group

sys_getpgid(pid_t pid)
number132 (0x84)
abii386
entry pointsys_getpgid
sinceLinux 3.3
man pagegetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
eax132, the syscall number
ebxpid_t pid
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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