History log of /external/ltp/testcases/kernel/syscalls/fork/fork05.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aabb8340f63ed31afe995fd97795e542dc68b93c 04-Feb-2015 Cyril Hrubis <chrubis@suse.cz> Include usctest.h in test.h

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
c57fba5535abf457e33dd7a986b6c512d95cdef6 10-Apr-2014 Mike Frysinger <vapier@gentoo.org> testcases/kernel/syscalls: clean up old style prototypes

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
fed9641096e27f79a0f2d9adfe9839dd8d11dc0f 24-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Fix FSF address

find . -type f -exec sed -i 's/the Free Software Foundation, Inc., 59/the Free Software Foundation, Inc.,/g;s/Temple Place - Suite 330, Boston MA 02111-1307, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
181906907072c2066184e64d9c4e8e75e62eb4d5 18-Sep-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> fork05: code cleanups

Fix coding style.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
1569799abe4296fc5ca50ede305c1eb2ac482422 18-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix some tests. Remove all externs to Tst_count.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
1e8921d6daf94d00586a72080362ffb2a360dc20 16-Apr-2009 subrata_modak <subrata_modak> Rohit verma <rohit.170309@gmail.com> wrote: There is a change in compilation mechanism in LTP from Feb 09 distribution.The previous Make mechanism did not provide any optimization while compiling the fork05 test program and the test used to Pass . However the newer Makefile uses optimization level 2 while compiling, if this file is executed the test case fails.
CAI Qian <caiqian@cclom.cn> replied: This is definitely a case. I can reproduce it on Fedora 10, so I have created a bug of it, and copied the author Ulrich Drepper, https://bugzilla.redhat.com/show_bug.cgi?id=495296. Ulrich Drepper has pointed out in the above bug report that this failure was due to incorrect test code. The test code isn't correct. The compiler cannot look inside the asm statements in main() and see that they are really necessary. Based on the information given the compiler can drop some of them. Change all asms in main from asm(...) to asm volatile(...), and the code works fine. With the following patch, it works fine with and without compilation optimization. Signed-off-by: CAI Qian <caiqian@cclom.cn>.
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
56207cec7732e09c216c751c0b5f88a242bacae6 23-Mar-2009 subrata_modak <subrata_modak> Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
4bb656a129f7507823e9e6d6b98b1a02fd80ef89 26-Feb-2009 subrata_modak <subrata_modak> Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
43337a3cf6f8809647cf9fc6c0054241f44b1fb1 26-Feb-2009 subrata_modak <subrata_modak> Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
f4f3d4f7ea52c0e623876e955665ea5174b03b16 05-Jan-2005 mridge <mridge> Fix for defect 11968 - test seg faults on a SMP system (8-way)
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
5e83f2296910a8ae6613998c2be6bf2418fc1982 07-May-2003 robbiew <robbiew> Per Ulrich Drepper's note, I changed all %gs references to %fs:
<<<<<<<<<<<<<<<<
Robert Williamson wrote:

> I'm getting a SIGSEGV with one of our tests, fork05.c, that apparently
> you wrote (attached below). The test passes on my 2.5.68 machine running
> SuSE 8.0 (glibc 2.2.5 and Linuxthreads), however it segmentation faults on
> RedHat 9 running 2.5.68. The test seems to "break" when it attempts to run
> the assembly code....could you take a look at it?

There is no need to look at it, I know it cannot work anymore on recent
systems. Either change all uses of %gs to %fs or skip the entire patch
if %gs has a nonzero value.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
>>>>>>>>>>>>>>>>>>
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
74948ad801d4aba1c872652580b8b331e41aefca 14-Nov-2002 plars <plars> Multiple cleanups and fixes from Ihno Krumreich
bugs
- fork08 -- the exit value of the programm is not calculated correct.
- sysctl03 -- the last parameter of sysctl is a value, not a pointer

64-Bit cleanups
all five patches are fixes for the problem that size(int) != size(void *)
The result of the tests depends on the returnvalue of malloc and signal.
testcases.kernel.mem.mtest07.patch
testcases.kernel.mem.waitpid.patch
testcases.kernel.sched.pthreads.patch
testcases.kernel.syscalls.sigaltstack.patch
testcases.kernel.syscalls.signal.patch

warnings
remove of warnings of implecied declared functions and unused
variables.
Testcases.commands.ade.ldd.patch
testcases.kernel.syscalls.creat.patch
testcases.kernel.syscalls.creat_slink.patch
testcases.kernel.syscalls.exit.patch
testcases.kernel.syscalls.fchdir.patch
testcases.kernel.syscalls.fsync.patch
testcases.kernel.syscalls.getcwd.patch
testcases.kernel.syscalls.getdents.patch
testcases.kernel.syscalls.getgid.patch
testcases.kernel.syscalls.getgroups.patch
testcases.kernel.syscalls.mkdir.patch
testcases.kernel.syscalls.mknod.patch
testcases.kernel.syscalls.mmap.patch
testcases.kernel.syscalls.modify_ldt.patch
testcases.kernel.syscalls.mprotect.patch
testcases.kernel.syscalls.mremap.patch
testcases.kernel.syscalls.open.patch
testcases.kernel.syscalls.pipe.patch
testcases.kernel.syscalls.poll.patch
testcases.kernel.syscalls.pread.patch
testcases.kernel.syscalls.pwrite.patch
testcases.kernel.syscalls.read.patch
testcases.kernel.syscalls.readdir.patch
testcases.kernel.syscalls.readlink.patch
testcases.kernel.syscalls.rename.patch
testcases.kernel.syscalls.rmdir.patch
testcases.kernel.syscalls.sched_setscheduler.patch
testcases.kernel.syscalls.sched_yield.patch
testcases.kernel.syscalls.setitimer.patch
testcases.kernel.syscalls.setpriority.patch
testcases.kernel.syscalls.setrlimit.patch
testcases.kernel.syscalls.settimeofday.patch
testcases.kernel.syscalls.sigaction.patch
testcases.kernel.syscalls.stat.patch
testcases.kernel.syscalls.statfs.patch
testcases.kernel.syscalls.sysinfo.patch
testcases.kernel.syscalls.times.patch
testcases.kernel.syscalls.umask.patch
testcases.kernel.syscalls.uname.patch
testcases.kernel.syscalls.utime.patch
testcases.kernel.syscalls.vfork.patch
testcases.kernel.syscalls.vhangup.patch
testcases.kernel.syscalls.wait4.patch
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
4e20ed94520825e165a3e83d55888065444d33ba 10-Jun-2002 robbiew <robbiew> Applied patch submitted by Ihno.
/external/ltp/testcases/kernel/syscalls/fork/fork05.c
865695bbc89088b9526ea9045410e5afb70a985c 28-Aug-2001 plars <plars> restructuring work done, and adding about 400 testcases
/external/ltp/testcases/kernel/syscalls/fork/fork05.c