syscall.sh / xtensa / setpgid

setpgid

set/get process group

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

Registers

registervalue
a2148, the syscall number
a6pid_t pid
a3pid_t pgid
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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