From SUSv4:
If pid is negative, but not -1, sig shall be sent to all processes
(excluding an unspecified set of system processes) whose process group
ID is equal to the absolute value of pid, and for which the process
has permission to send a signal.
As I understand there can’t be 2 or more processes with the same PID at any time. Why the spec says to all processes?
Thank you.
The spec says to all processes within the given group. There can be multiple processes per group. The negative
ididentifies the group.