syscall.sh / x32 / setpgid

setpgid

set/get process group

sys_setpgid(pid_t pid, pid_t pgid)
number1073741933 (0x4000006d)
abicommon
entry pointsys_setpgid
sinceLinux 3.4
man pagesetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741933, the syscall number
rdipid_t pid
rsipid_t pgid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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