From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Re: about pppd termination?
Date: Thu, 22 May 2008 00:38:22 +0000 [thread overview]
Message-ID: <18484.49278.193122.809540@gargle.gargle.HOWL> (raw)
In-Reply-To: <200805211447103125311@foxmail.com>
James Cameron writes:
> On Wed, May 21, 2008 at 07:14:13PM -0400, James Carlson wrote:
> > An alternative might be to avoid sending signals to the process group
> > if pppd is not actually the group leader.
>
> This would have the side effect of not terminating the processes that
> pppd started. Wouldn't it be better if pppd made itself the group
> leader?
Yes ... I was just trying to understand how you got into that state.
The detach() function (as long as you don't use nodetach) should get
you into that process group leader status.
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.
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
next prev parent reply other threads:[~2008-05-22 0:38 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 [this message]
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=18484.49278.193122.809540@gargle.gargle.HOWL \
--to=carlsonj@workingcode.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