From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Tiinj-0001uz-EF for ltp-list@lists.sourceforge.net; Wed, 12 Dec 2012 09:40:27 +0000 Received: from mx3-phx2.redhat.com ([209.132.183.24]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1Tiinf-0003et-DD for ltp-list@lists.sourceforge.net; Wed, 12 Dec 2012 09:40:27 +0000 Date: Wed, 12 Dec 2012 04:40:13 -0500 (EST) From: Jan Stancek Message-ID: <1272030098.14596289.1355305213874.JavaMail.root@redhat.com> In-Reply-To: <1355280102-13331-1-git-send-email-gaowanlong@cn.fujitsu.com> MIME-Version: 1.0 Subject: Re: [LTP] [PATCH] clone05: signal parent when the child terminates List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Wanlong Gao Cc: LTP ----- Original Message ----- > From: "Wanlong Gao" > To: "LTP" > Sent: Wednesday, 12 December, 2012 3:41:42 AM > Subject: [LTP] [PATCH] clone05: signal parent when the child terminates > > Add SIGCHLD flag when doing clone to signal parent when the child > terminates. > This flag is missed by commit c91af2ff. > > Signed-off-by: Wanlong Gao > --- > testcases/kernel/syscalls/clone/clone05.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/testcases/kernel/syscalls/clone/clone05.c > b/testcases/kernel/syscalls/clone/clone05.c > index 4797b46..06b84ed 100644 > --- a/testcases/kernel/syscalls/clone/clone05.c > +++ b/testcases/kernel/syscalls/clone/clone05.c > @@ -60,7 +60,7 @@ int main(int ac, char **av) > for (lc = 0; TEST_LOOPING(lc); lc++) { > Tst_count = 0; > > - TEST(ltp_clone(CLONE_VM | CLONE_VFORK, child_fn, NULL, > + TEST(ltp_clone(CLONE_VM | CLONE_VFORK | SIGCHLD, child_fn, NULL, Good catch. Reviewed-by: Jan Stancek Regards, Jan > CHILD_STACK_SIZE, child_stack)); > > if ((TEST_RETURN != -1) && (child_exited)) > -- > 1.8.0 > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add > services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list