From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <504F6604.2000104@xenomai.org> Date: Tue, 11 Sep 2012 18:25:40 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Children of forked process do not die upon receiving SIGKILL in Xenomai? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Soo-Hyun Yoo Cc: xenomai@xenomai.org 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.