From: Peng Haitao <penght@cn.fujitsu.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] setfsuid04.c: the child process should exit 0
Date: Mon, 14 Feb 2011 14:05:37 +0800 [thread overview]
Message-ID: <4D58C631.7040508@cn.fujitsu.com> (raw)
Hi Garrett,
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
---
testcases/kernel/syscalls/setfsuid/setfsuid04.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/testcases/kernel/syscalls/setfsuid/setfsuid04.c b/testcases/kernel/syscalls/setfsuid/setfsuid04.c
index 9129892..cd230ff 100644
--- a/testcases/kernel/syscalls/setfsuid/setfsuid04.c
+++ b/testcases/kernel/syscalls/setfsuid/setfsuid04.c
@@ -93,7 +93,7 @@ int main(int ac, char **av)
if (pid == 0) {
do_master_child();
-
+ exit(0);
} else {
waitpid(pid, &status, 0);
if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0))
@@ -103,8 +103,6 @@ int main(int ac, char **av)
cleanup();
tst_exit();
- tst_exit();
-
}
/*
@@ -244,4 +242,4 @@ void cleanup(void)
tst_rmdir();
-}
\ No newline at end of file
+}
--
1.7.3.1
--
Best Regards,
Peng Haitao
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2011-02-14 6:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-14 6:05 Peng Haitao [this message]
2011-02-14 6:23 ` [LTP] [PATCH] setfsuid04.c: the child process should exit 0 Garrett Cooper
2011-02-14 9:35 ` Peng Haitao
2011-02-15 14:42 ` Garrett Cooper
2011-02-16 6:40 ` Peng Haitao
2011-02-16 6:45 ` Garrett Cooper
2011-02-16 7:27 ` Peng Haitao
2011-02-23 9:50 ` Peng Haitao
2011-02-24 5:27 ` Garrett Cooper
2011-02-24 5:27 ` Garrett Cooper
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=4D58C631.7040508@cn.fujitsu.com \
--to=penght@cn.fujitsu.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox