Linux PPP protocol development
 help / color / mirror / Atom feed
From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Re: about pppd termination?
Date: Thu, 22 May 2008 00:52:29 +0000	[thread overview]
Message-ID: <20080522005229.GH6559@hp.com> (raw)
In-Reply-To: <200805211447103125311@foxmail.com>

On Wed, May 21, 2008 at 08:38:22PM -0400, James Carlson wrote:
> Is it possible that the signal was sent before the setsid() was done
> (i.e., before IPCP went Opened)?  If so, then we might need to tweak
> how the process group is managed in the special case of (at least)
> updetach.

Yes, that's the situation.  I remember now.  Until we added the handler
for SIGINT in the GUI, what would happen is that the GUI would die with
a SIGINT as a result of the user hitting the "Cancel" button before the
tunnel was established.  That button sent a SIGINT to the pppd which had
not yet detached.

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

  parent reply	other threads:[~2008-05-22  0:52 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
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 [this message]
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=20080522005229.GH6559@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox