syscall.sh / sparc64 / setpgid

setpgid

set/get process group

sys_setpgid(pid_t pid, pid_t pgid)
number185 (0xb9)
abicommon
entry pointsys_setpgid
sinceLinux 5.0
man pagesetpgid(2)
sourceelixir.bootlin.com

Registers

registervalue
g1185, the syscall number
o0pid_t pid
o1pid_t pgid
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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