Re: [patch 02/14] always create a new process group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marco d'Itri writes:

> pppd sends signals to the whole process group, so it must always create
> a new one or it may kill the parent process and its siblings.
> Currently setsid() is not called when the updetach option is used.
> We want to make the detached and non-detached code paths as similar as
> possible.

I know there is a problem here but I don't think this patch is the
right solution, because setsid fails and does nothing if the process
is a process group leader, which it usually will be when run from a
shell.  There is a reason why the setsid in detach() is only done
after forking.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux