[haiku-commits] Re: r41677 - haiku/branches/developer/bonefish/signals/src/system/kernel

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2011 15:17:13 +0200 (MEST)

ingo_weinhold@xxxxxx wrote:
> +                                     // The terminal-sent stop signals are 
> allowed to stop the
> +                                     // process only, if it doesn't belong 
> to an orphaned process
> +                                     // group. Otherwise the signal must be 
> discarded.
> +                                     team->LockProcessGroup();
> +                                     AutoLocker<ProcessGroup> 
> groupLocker(team->group, true);
> +                                     if (signal->Number() != SIGSTOP
> +                                             && team->group->IsOrphaned()) {
> +                                             continue;

Doesn't this reverse the logic, ie. ignores all but stop signals for orphaned 
processes?

Bye,
   Axel.


Other related posts: