History log of /external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6d11d08678aac1ed2c370ea8e42e5f45aea07be 09-Mar-2015 Cyril Hrubis <chrubis@suse.cz> Introduce tst_parse_opts()

The pattern that was used in all testcases is:

const char *msg;

msg = parse_opts(...);
if (msg)
tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);

This change simplifies the steps to just calling:

tst_parse_opts(...);

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
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/ptrace/ptrace06.c
0b9589f3f9c0345b29cfcf7da5a1253c708303eb 27-May-2014 Cyril Hrubis <chrubis@suse.cz> testcases: Constify char *msg variable.

The parse_opts() now returns const char * instead of char * this commit
fixes all warnings caused by the change.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.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/ptrace/ptrace06.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.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/ptrace/ptrace06.c
60fa8014af7534eaefa901200c8df4b74ce422e6 22-Nov-2010 Garrett Cooper <yanegomi@gmail.com> More meaningful cleanup with making options parsing errors consistent.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
919dca828c701bce109db8e9ed694292e88db3fc 03-Nov-2009 vapier <vapier> extend autoconf ptrace tests
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
ef77253961f909f87e82e6d2b620e87af33e9665 09-Oct-2009 yaberauneya <yaberauneya> 1. Please see README.mk-devel for a full description of the changes
from a Make perspective.
2. Several files were changed to accomodate correct installation
practices, most notably ones in testcases/network/{ipv6,tcp_cmds},
testcases/kernel/sched/hyperthreading/ht_enabled/..., and some items
in tools/..., and also to avoid collisions as far as installed
testcases (scripts, compiled C apps) were concerned.
3. Several apps weren't autoconf safe and some autoconf tests and
conditional statements have been placed in sourcecode and in Makefiles
to either a) prevent the tests from being built / installed or b) turn
the tests into dummy apps which print out TCONF messages due to
lack-of-build support.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
a469a371140dacf8f38ff16b41b656215f27306a 26-May-2009 vapier <vapier> revert previous "style" change which did a lot more damage than good
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
56207cec7732e09c216c751c0b5f88a242bacae6 23-Mar-2009 subrata_modak <subrata_modak> Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
9a9a5693db88a6dfac0251bda8ce0d8c0559f105 11-Dec-2008 vapier <vapier> add _GNU_SOURCE for strsignal in spawn_ptrace_child.h
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
e68d2eb6f3cb0397f4495dc633f64082904c9689 02-Nov-2008 vapier <vapier> base {PEEK,POKE}USER on sizeof(user) rather than sizeof(pt_regs) and add a few more corner cases
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
90a8fb49e139f2873843a3c6ae49f35618385689 15-Oct-2008 subrata_modak <subrata_modak> The new ltp-full-20080930.tgz seems to include some new ptrace tests (ptrace04 and ptrace06) that do a #include for spawn_ptrace_child.c. Now I find that if I do a "make clean" it removes this spawn_ptrace_child.c ... is this expected and desired? Also is there supposed to be a way to generate the spawn_ptrace_child.c and any other files removed after "make clean" ? Thanks, - Mark Ver.
Yes, I believe it's an error. The spawn_ptrace_child.c file is necessary to ptrace04 and ptrace06. To do a #include *.c file is not a good coding style. The simplest solution is to rename the spawn_ptrace_child.c to spawn_ptrace_child.h. Also you can add __inline__ as the prefix of functions, then the spawn_ptrace_child.h file looks more like a header file. Thanks, - Jin Bing Guo.
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
a6e0aa59f3c6ed332eb3ab1e8039e3c39758f1ba 15-Oct-2008 subrata_modak <subrata_modak> On ppc/ppc64, PTRACE_GETREGS and PTRACE_SETREGS don't be defined in /usr/include/sys/ptrace.h. So add checks before use them. Signed-off-by: Jin Bing Guo <guojb@cn.ibm.com>.
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c
8435409178067ecd99ed6680f4825a063cd5e36f 27-Sep-2008 vapier <vapier> add out-of-bound and alignment tests for the GET/SET ptraces that take addresses
/external/ltp/testcases/kernel/syscalls/ptrace/ptrace06.c