From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Re: about pppd termination?
Date: Wed, 21 May 2008 23:08:08 +0000 [thread overview]
Message-ID: <20080521230808.GB6559@hp.com> (raw)
In-Reply-To: <200805211447103125311@foxmail.com>
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/
next prev parent reply other threads:[~2008-05-21 23:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 6:47 about pppd termination? cyx_mail
2008-05-21 6:56 ` James Cameron
2008-05-21 7:10 ` cyx_mail
2008-05-21 14:23 ` James Carlson
2008-05-21 23:08 ` James Cameron [this message]
2008-05-21 23:14 ` James Carlson
2008-05-22 0:00 ` James Cameron
2008-05-22 0:38 ` James Carlson
2008-05-22 0:38 ` Paul Mackerras
2008-05-22 0:52 ` James Cameron
2008-05-22 0:56 ` James Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080521230808.GB6559@hp.com \
--to=james.cameron@hp.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.