All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: LTP <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH] clone05: signal parent when the child terminates
Date: Wed, 12 Dec 2012 04:40:13 -0500 (EST)	[thread overview]
Message-ID: <1272030098.14596289.1355305213874.JavaMail.root@redhat.com> (raw)
In-Reply-To: <1355280102-13331-1-git-send-email-gaowanlong@cn.fujitsu.com>



----- Original Message -----
> From: "Wanlong Gao" <gaowanlong@cn.fujitsu.com>
> To: "LTP" <ltp-list@lists.sourceforge.net>
> 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 <gaowanlong@cn.fujitsu.com>
> ---
>  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 <jstancek@redhat.com>

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

       reply	other threads:[~2012-12-12  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1355280102-13331-1-git-send-email-gaowanlong@cn.fujitsu.com>
2012-12-12  9:40 ` Jan Stancek [this message]
2012-12-12  9:55   ` [LTP] [PATCH] clone05: signal parent when the child terminates Wanlong Gao
2012-12-12 10:01 ` chrubis

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=1272030098.14596289.1355305213874.JavaMail.root@redhat.com \
    --to=jstancek@redhat.com \
    --cc=gaowanlong@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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.