Hi Guys,
how many loops should setuid04 run test case using "setuid04 -i 2"? It
should be 2 but in fact, it is 3, This patch solves this problem. Hoppe it
is useful.
Thanks a lot!
--
Guo Hongruan, Embedded Linux Consultant
Mobile: +86-0-13484056007
Skype: cam
2 PASS : open returned errno EACCES
setuid041 PASS : open returned errno EACCES
setuid042 PASS : open returned errno EACCES
3. But it should loop 2 times, not 3.
Maybe it is a bug.
--
Guo Hongruan, Embedded Linux Consultant
Mobile: +86-0-13484056007
Skype: camelguo
http
Attached is the patch against ltp cvs version.
On Tue, 14 Apr 2009 18:44:45 +0800, Subrata Modak
wrote:
On Tue, 2009-04-14 at 08:54 +0800, Guo Hongruan wrote:
see attachment for the patch.
I think you need to resend this based on the latest CVS. See the
failures in applying the patch
attachment is the patch file
On Mon, 13 Apr 2009 22:38:00 +0800, Subrata Modak
wrote:
On Mon, 2009-04-13 at 09:22 +0800, Guo Hongruan wrote:
How to reproduce this bug:
./clone07 -i 19
I can produce this.
Before Patching:
$ ./clone07 -i 19
*** glibc detected *** ./testcases/bin
see attachment for the patch.
On Mon, 13 Apr 2009 21:06:25 +0800, Subrata Modak
wrote:
Guo,
On Mon, 2009-04-13 at 10:57 +0800, Guo Hongruan wrote:
Ok, I will
I am hoping that you will resend a complete set for both mount02.c and
mount03.c with Caiś comments. Post Caiś acknowledgement
Ok, I will
On Mon, 13 Apr 2009 06:56:42 +0800, CAI Qian wrote:
> From: "Guo Hongruan"
> Subject: Re: [LTP] patch for mount02.c and mount03.c bugs(maybe)
> Date: Sun, 12 Apr 2009 11:00:48 +0800
>
>> Hi, Qian
>>The LTP I used is LTP-20090131. Maybe mount03.c
ack
for child");
+ }
+
/*
* Call clone(2)
*/
--
Guo Hongruan, Embedded Linux Consultant
Mobile: +86-0-13484056007
Skype: camelguo
http://www.gulessoft.com
tst_brkm(TBROK, NULL, "malloc failed to alloc
%d errno "
184 " %d ", strlen(fstype), errno);
185 }
186 memset(Fstype, 0, strlen(DEFAULT_FSTYPE)+1);
187 strncpy(Fstype, DEFAULT_FSTYPE,
strlen
execve(file, NULL, NULL);
+ exit(-127);
/* NOT REACHEAD */
} else {
waitpid(pid, &status, 0);
--
Guo Hongruan, Embedded Linux Consultant
Mobile