On Mon, 2008-06-02 at 17:11 +0200, Louis Rilling wrote:
> plain text document attachment
> (execve05-remove-useless-waitpid-for-sibling-child.patch)
> In a child, calling waitpid() to wait for the death of sibling child is simply
> non-sense. Moreover in execve05, the second child does not need such
> synchronization. Remove it.
>
> Signed-off-by: Louis Rilling <[EMAIL PROTECTED]>
Applied.
Regards--
Subrata
> ---
> testcases/kernel/syscalls/execve/execve05.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> Index: b/testcases/kernel/syscalls/execve/execve05.c
> ===================================================================
> --- a/testcases/kernel/syscalls/execve/execve05.c 2008-06-02
> 16:32:03.000000000 +0200
> +++ b/testcases/kernel/syscalls/execve/execve05.c 2008-06-02
> 16:34:22.000000000 +0200
> @@ -171,9 +171,6 @@ main(int ac, char **av)
> tst_resm(TPASS, "call generated expected "
> "ETXTBSY error");
> }
> -
> - /* wait for the first child to exit */
> - (void)waitpid(pid, NULL, 0);
> exit(retval);
> } else { /* parent */
> /* wait for the child to finish */
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list