Linux PPP protocol development
 help / color / mirror / Atom feed
From: "cyx_mail" <cyx_mail@foxmail.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Re: Re: issue about PIDs ?
Date: Thu, 22 May 2008 01:37:29 +0000	[thread overview]
Message-ID: <200805220937284688839@foxmail.com> (raw)
In-Reply-To: <200805212131204066521@foxmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1704 bytes --]

> you mean define a handler in pppd code?

>No, in your pppoe-server code.  Handle the SIGINT as if it is expected
>side-effect.

so if I define a handler in pppd ,and kill pppd himself in the handler ? can solve this problem?


> what function should call in the handler to bring the pppd down
> gracefully?

>Sorry, I don't understand this question.
if I want to kill pppd himself in the handler that user defined in pppd, what function should I call to kill pppd himself safely?


------------------				 
cyx
2008-05-22

-------------------------------------------------------------
·¢¼þÈË£ºJames Cameron
·¢ËÍÈÕÆÚ£º2008-05-22 09:26:52
ÊÕ¼þÈË£ºcyx_mail
³­ËÍ£ºlinux-ppp@vger.kernel.org; James Cameron
Ö÷Ì⣺Re: Re: issue about PIDs ?

On Thu, May 22, 2008 at 09:23:06AM +0800, cyx_mail wrote:
> you mean define a handler in pppd code?

No, in your pppoe-server code.  Handle the SIGINT as if it is expected
side-effect.

> what function should call in the handler to bring the pppd down
> gracefully?

Sorry, I don't understand this question.

-- 
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

__________ NOD32 3090 (20080509) Information __________

This message was checked by NOD32 antivirus system.
http://www.nod32cn.com


ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þšiþ)í…æèw*\x1fjg¬±¨\x1e¶‰šŽŠÝ¢jÿ¾\a«þG«éÿ¢¸\f¢·¦j:+v‰¨ŠwèjØm¶Ÿÿþø\x1e¯ù\x1e®w¥þŠàþf£¢·hšâúÿ†Ù¥

  parent reply	other threads:[~2008-05-22  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21 13:31 issue about PIDs ? cyx_mail
2008-05-21 23:12 ` James Cameron
2008-05-22  1:27 ` cyx_mail
2008-05-22  1:29 ` James Cameron
2008-05-22  1:37 ` cyx_mail [this message]
2008-05-22  2:37 ` 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=200805220937284688839@foxmail.com \
    --to=cyx_mail@foxmail.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