Re: Re: about pppd termination?

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

 



On Wed, May 21, 2008 at 10:23:53AM -0400, James Carlson wrote:
> pppd acts as a process group leader, and sending a signal to the
> process group means that all children created by pppd (at least those
> that haven't gone off to start new process groups) will get the
> signal.  This basically cleans up any charshunt or script that might
> be running in preparation to exit.

That reminds me.  In the pptpconfig GUI we must define a handler for
SIGINT before starting pppd, because if we don't the SIGINT we send to
pppd comes back to us because of "kill(0,sig)".  Why is this?  popen is
used to activate pppd, so that output from pppd is redirected to GUI.

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
--
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