All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Soo-Hyun Yoo <yoos117@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Children of forked process do not die upon receiving SIGKILL in Xenomai?
Date: Tue, 11 Sep 2012 18:25:40 +0200	[thread overview]
Message-ID: <504F6604.2000104@xenomai.org> (raw)
In-Reply-To: <CAP1DbD7y_G+5tjUucgXE57gA-8K4vMCe5s_cVfOoEJV3CVF_RQ@mail.gmail.com>

On 09/11/2012 06:22 PM, Soo-Hyun Yoo wrote:
> Hello,
> 
> I have a certain process "A" that forks and execs a process "B". B
> spawns multiple child processes.
> 
> In the vanilla Linux kernel, I can have A send a SIGTERM or SIGKILL to
> B and thereby successfully kill B and all of its children.
> 
> Under Xenomai, however, I am noticing that the same action kills B,
> but B's children make init their new parent and continue running.
> 
> Why is this, and what can I do to kill B's children without having to
> use a script to track down each child process individually?

No idea, please send a test case allowing us to reproduce the issue.

-- 
					    Gilles.


  reply	other threads:[~2012-09-11 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 16:22 [Xenomai] Children of forked process do not die upon receiving SIGKILL in Xenomai? Soo-Hyun Yoo
2012-09-11 16:25 ` Gilles Chanteperdrix [this message]
2012-09-11 16:53   ` Christophe Blaess
2012-09-11 18:27     ` Soo-Hyun Yoo
2012-09-11 18:31       ` Gilles Chanteperdrix

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=504F6604.2000104@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    --cc=yoos117@gmail.com \
    /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.