summaryrefslogtreecommitdiff
path: root/test/Makefile
Commit message (Collapse)AuthorAge
* Fix select decoding with bogus (huge or negative) nfds.Dr. David Alan Gilbert2013-11-05
| | | | | | | | | | | | We used to allocate and fetch bit arrays using a sanitized length, but then iterate over them with "j < arg[0]" condition, where arg[0] is not sanitized. This segfaults if arg[0] is huge or negative. This change fixes this. Add test/select.c to capture the case. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Improve sigreturn decoding on x86 to show RT signal bits too.Denys Vlasenko2013-07-16
| | | | | | | | | This includes decoding of 32-bit sigreturn by 64-bit strace, which previously wasn't done. Added a test for it. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* test: add mtd/ubi test helpersMike Frysinger2013-05-02
| | | | | | | | | | | | I used these to develop the mtd/ubi ioctl decoders. * test/.gitignore: Add mtd/ubi. * test/Makefile: Declare all tests in a PROGS var. Declare build targets .PHONY. (all): Depend on $(PROGS) instead of hardcoded list. (clean): Remove $(PROGS) instead of hardcoded list. * test/mtd.c: New file. * test/ubi.c: Likewise.
* test: include headers for used funcsMike Frysinger2013-05-02
| | | | | | | | | | | | | These funcs use things like wait/write/read/strcmp but sometimes don't include the right header for them. * test/Makefile: Add -Wall to CFLAGS. * test/clone.c: Include unistd.h. * test/fork.c: Include sys/wait.h. * test/sig.c: Include unistd.h. * test/sigkill_rain.c: Include sys/wait.h. * test/vfork.c: Include sys/wait.h. * test/wait_must_be_interruptible.c: Include string.h
* Tidy up includes and copyright notices, fix indentationDenys Vlasenko2012-03-16
| | | | | | | | | | | | | | | The files not mentioned in changelog below had only copyright notices fixes and indentation fixes. * defs.h: Include <stdint.h> and <inttypes.h>. * file.c: Do not include <inttypes.h>. Move struct kernel_dirent declaration below top include block. * block.c: Do not include <stdint.h> and <inttypes.h>. * quota.c: Likewise. * desc.c: Likewise. * signal.c: Likewise. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add new test program: test/threaded_execve.cDenys Vlasenko2012-01-27
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update test/* directory, it seem to be a bit bit-rottedDenys Vlasenko2011-06-08
| | | | | | | | Added README; modified sigkill_rain.c to be more understandable, made clone.c compile; added wait_must_be_interruptible.c test; updated Makefile and .gitignore. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Cleanup trailing whitespaces and indentation that uses spaces before tabsDmitry V. Levin2009-07-08
| | | | | | | Correct spacing to fix warnings reported by git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
* 2007-11-06 Jan Kratochvil <jan.kratochvil@redhat.com>Roland McGrath2007-11-13
| | | | | | | | | * strace.c [LINUX] (droptcb): Recurse on TCP->parent if it is a TCB_EXITING zombie group leader. * test/childthread.c: New file. * test/.cvsignore, test/Makefile: Add it. Code advisory: Roland McGrath Fixes RH#354261.
* 2007-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>Roland McGrath2007-07-05
| | | | | * test/leaderkill.c: New file. * test/.cvsignore, test/Makefile: Add it.
* README-linux: updated to note that strace might not compileWichert Akkerman2000-04-10
| | | | | | | | | | | | | | | | | | with development kernels bjm.c: sys_query_module: check if malloc succeeds system.c: sys_cap[gs]et(): check if malloc succeeds, only malloc once linux/syscallent.h: updated for 2.3.99pre3 linux/alpha/syscallent.h: updated for 2.3.99pre3, add all osf syscalls even though Linux doesn't implement them syscall.c: add global variables for MIPS registers as well syscall.c: move global variables to before get_scno since that uses them util.c: oops, misspelled defined process.c: fix ptrace calls in change_syscall mem.c: decode sys_madvise Merge patch from Topi Miettinen <Topi.Miettinen@nic.fi> + add support for quotactl, fdatasync, mlock, mlockall, munlockall & acct + small fix for RLIMIT_* and RUSAGE_BOTH + enhace support for capget and capset
* test/vfork.c: new file to test vfork tracesWichert Akkerman2000-02-19
| | | | | | | | test/.cvsignore: new file defs.h: Up maximum number of traced processed to 64 strace.c: Disable some debugging code from davidm implement setarg for more architectures implement change_syscall
* Automatically probe for sys/poll.hPavel Machek2000-02-01
| | | | | Include example of nasty program where strace (by design) gives incorrect output.
* Initial revisionWichert Akkerman1999-02-19