Go to file
Eugene Syromyatnikov aefb09b9cc tests: make magic values in ioctl_block test distinctive
* tests/ioctl.block (init_magic): Add iterator value to magic value
in order to enable detection of potential 4-byte aligned shifts.
2016-09-27 17:55:35 +00:00
debian Post-release administrivia 2016-07-27 09:19:37 +00:00
linux Update generic ioctl entries from linux 4.8 2016-09-12 15:34:27 +00:00
m4 mpers.m4: check for struct stat64, struct stat, and their members 2016-08-24 12:10:55 +00:00
maint maint: update for linux 4.8 2016-09-12 13:55:59 +00:00
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 2015-03-24 20:54:26 +01:00
test Use <asm/unistd.h> instead of <sys/syscall.h> 2016-08-09 14:38:29 +00:00
tests tests: make magic values in ioctl_block test distinctive 2016-09-27 17:55:35 +00:00
xlat Add more fs magic constants 2016-09-19 19:51:30 +00:00
.gitignore make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 2016-06-08 09:28:25 +00:00
.mailmap .mailmap: add addresses of Dr. David Alan Gilbert 2016-09-12 23:38:20 +00:00
.travis.yml travis: add x86 musl 2016-09-08 22:56:25 +00:00
access.c access.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
affinity.c Fix and enhance decoding of sched_[gs]etaffinity syscalls 2016-01-07 02:11:55 +00:00
aio.c aio: print aio_context_t as a pointer type 2016-09-07 13:01:29 +00:00
alpha.c alpha: fix decoding of osf_statfs and osf_fstatfs syscalls 2016-04-25 23:52:03 +00:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c Consistently use printaddr for printing addresses 2016-06-11 09:26:49 +00:00
block.c block.c: remove BLKDAXGET support 2016-07-12 16:22:22 +00:00
bootstrap tests: use correct m32/mx32 st_mtime_nsec checks in tests/xstatx.c 2016-08-30 15:50:36 +00:00
bpf.c Fix decoding of BPF_MAP_UPDATE_ELEM flags 2016-05-16 21:47:09 +00:00
btrfs.c btrfs: mpersify struct btrfs_ioctl_vol_args_v2 2016-08-29 15:30:45 +00:00
build_static_example.sh Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
cacheflush.c bfin: fix decoding of cacheflush syscall 2016-05-16 21:47:09 +00:00
capability.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
caps0.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
caps1.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
chdir.c chdir.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
chmod.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
clone.c Add RISC-V architecture support 2016-08-21 22:03:05 +00:00
configure.ac tests: check decoding of quotactl syscall 2016-09-27 08:11:06 +00:00
copy_file_range.c Implement copy_file_range syscall decoding 2016-02-14 00:36:38 +00:00
COPYING Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
count.c Fix NULL dereference in "-S name" when syscall table has holes 2016-05-10 00:38:59 +00:00
CREDITS.in CREDITS.in: add Jian Zhen 2015-11-25 19:10:56 +00:00
defs.h Enhance zero_extend_signed_to_ull and sign_extend_unsigned_to_ll macros 2016-09-27 00:57:28 +00:00
desc.c alpha: alias getdtablesize to printargs 2016-01-08 18:53:27 +00:00
dirent64.c Fix decoding of 3rd argument of getdents/getdents64 syscalls 2016-04-26 22:38:10 +00:00
dirent.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
empty.h Add mpers support 2015-08-28 08:46:23 +00:00
epoll.c Fix decoding of epoll_ctl operation argument 2016-05-16 21:47:09 +00:00
errnoent.sh Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
evdev.c evdev.c: fix typo in comment 2016-08-15 21:08:56 +00:00
eventfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
execve.c Fix decoding of execve and execveat syscalls with invalid input 2016-02-08 18:21:31 +00:00
exit.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
fadvise.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
fallocate.c fallocate.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fanotify.c Fix printing of fanotify_mark mask argument 2016-05-16 22:41:17 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c Fix printing of invalid 3rd argument of fcntl/fcntl64 syscall 2016-05-16 22:52:04 +00:00
fetch_seccomp_fprog.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
fetch_struct_flock.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
fetch_struct_mmsghdr.c mmsghdr.c: rewrite decode_mmsgvec using print_array 2016-07-19 17:46:32 +00:00
fetch_struct_msghdr.c Mpersify fetchers of struct msghdr and struct mmsghdr 2016-06-27 00:10:58 +00:00
fetch_struct_stat64.c Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
fetch_struct_stat.c Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
fetch_struct_statfs.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
file_handle.c Unabuse struct tcb.auxstr 2016-07-18 22:12:45 +00:00
file_ioctl.c file_ioctl.c: print first two extents for FIDEDUPERANGE in abbrev mode 2016-05-28 00:37:02 +00:00
flock.c desc.c: move parser of flock syscall to a separate file 2015-10-08 22:41:54 +00:00
flock.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
fs_x_ioctl.c Move parser of 'X' type ioctls to a separate file 2016-05-26 14:44:13 +00:00
fstatfs64.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
fstatfs.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
futex.c futex: do not pretend <linux/futex.h> is included 2016-08-30 17:29:28 +00:00
gcc_compat.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
generate_mpers_am.sh Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
generate_sen.sh Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
get_robust_list.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
getcpu.c getcpu.c: use printnum_int and printaddr 2015-07-20 22:03:07 +00:00
getcwd.c getcwd.c: use printaddr 2015-07-20 22:03:07 +00:00
getrandom.c getrandom.c: use printaddr 2015-07-20 22:03:07 +00:00
git-set-file-times Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
git-version-gen git-version-gen: replace '-' with '.' in generated version 2016-06-08 00:27:22 +00:00
gitlog-to-changelog Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
hdio.c Mpersify hdio.c 2016-05-30 00:29:14 +00:00
hostname.c hostname.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
inotify.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
ioctl.c ioctl.c: fix typo in decoding of EVIOCSABS's parameter 2016-05-27 08:55:40 +00:00
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 2015-03-28 22:37:30 +00:00
ioperm.c Implement ioperm syscall decoding 2015-11-22 23:10:12 +00:00
iopl.c Implement iopl syscall decoding 2015-11-22 23:10:12 +00:00
ioprio.c Prepare for transition from xlookup64 to xlookup 2016-05-14 22:05:06 +00:00
ipc_defs.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
ipc_msg.c ipc: fix printing key_t arguments of msgget, semget, and shmget syscalls 2016-09-08 16:26:48 +00:00
ipc_msgctl.c ipc: fix printing of integer arguments 2016-09-08 16:40:50 +00:00
ipc_sem.c ipc: fix printing of nsops argument of semop and semtimedop syscalls 2016-09-09 22:18:11 +00:00
ipc_shm.c ipc: fix printing of integer arguments 2016-09-08 16:40:50 +00:00
ipc_shmctl.c ipc: fix printing of integer arguments 2016-09-08 16:40:50 +00:00
ipc.c Fix corner cases of ipc syscall decoding 2016-07-22 19:28:06 +00:00
kcmp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
kernel_types.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
kexec.c Fix printing of invalid flags argument of kexec_load and kexec_file_load 2016-05-16 22:54:41 +00:00
keyctl.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 2016-06-22 14:40:57 +00:00
ldt.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
link.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
lookup_dcookie.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
loop.c loop.c: decode LOOP_SET_DIRECT_IO 2016-05-29 22:58:56 +00:00
lseek.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
make-dist make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 2016-06-08 09:28:25 +00:00
make-dsc Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
Makefile.am Makefile.am: use pwd instead of realpath 2016-09-05 19:52:57 +00:00
mem.c Introduce HAVE_STRUCT_TCB_EXT_ARG macro 2016-06-17 16:12:13 +00:00
membarrier.c Prepare for transition from sprintflags64 to sprintflags 2016-05-15 14:23:06 +00:00
memfd_create.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mknod.c Do not use AC_HEADER_MAJOR, include <sys/sysmacros.h> unconditionally 2016-08-29 15:36:02 +00:00
mmsghdr.c Print unsent messages of failed sendmmsg syscall 2016-07-19 17:46:33 +00:00
mount.c Fix printing of invalid flags argument of mount syscall 2016-05-16 23:48:05 +00:00
mpers_test.sh mpers: add MPERS_IS_* to CFLAGS passed to mpers.sh 2016-08-24 12:10:55 +00:00
mpers_type.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
mpers.awk mpers.awk: relax union member name absence check 2016-08-29 15:30:21 +00:00
mpers.sh Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
mq.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
msghdr.c Use IOV_MAX instead of UIO_MAXIOV 2016-07-18 22:12:45 +00:00
msghdr.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
mtd.c Consistently use printaddr for printing addresses 2016-06-11 09:26:49 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
net.c Unabuse struct tcb.auxstr 2016-07-18 22:12:45 +00:00
netlink.c netlink: handle multipart netlink messages 2016-07-08 16:01:49 +00:00
NEWS Set exit status to 1 if strace has not traced any processes 2016-07-29 22:47:46 +00:00
numa.c Fix printing of invalid flags argument of get_mempolicy syscall 2016-05-16 23:48:05 +00:00
oldstat.c Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
open.c decode_open: print the mode argument when O_TMPFILE flag is set 2016-09-20 20:55:56 +00:00
or1k_atomic.c or1k: fix printing of invalid 1st argument of or1k_atomic syscall 2016-05-16 23:48:05 +00:00
pathtrace.c Introduce a separate SEN entry for fstatat64 syscall 2016-08-23 15:06:34 +00:00
perf.c Fix printing of invalid flags argument of perf_event_open syscall 2016-05-16 23:48:05 +00:00
personality.c Handle unlikely errors from personality syscall 2015-12-27 00:18:35 +00:00
poll.c Fix printing of invalid struct pollfd.events 2016-05-16 22:41:19 +00:00
prctl.c Fix printing of invalid arguments of prctl syscall 2016-05-16 23:50:59 +00:00
print_mq_attr.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
print_msgbuf.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
print_sigevent.c Consistently use printaddr for printing addresses 2016-06-11 09:26:49 +00:00
print_statfs.c Fix some compilation warnings on older systems 2016-05-18 09:26:01 +00:00
print_struct_stat.c Do not use AC_HEADER_MAJOR, include <sys/sysmacros.h> unconditionally 2016-08-29 15:36:02 +00:00
print_time.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
print_timex.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
printmode.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
printrusage.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
printsiginfo.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
printsiginfo.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
process_vm.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 2016-06-22 14:40:57 +00:00
process.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 2016-06-22 14:40:57 +00:00
ptp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
ptrace.h Use PTRACE_SUNDETACH everywhere on SPARC and SPARC64 2016-08-30 00:48:36 +00:00
quota.c quota: ensure that names of structure fields are printed properly 2016-09-27 01:08:38 +00:00
readahead.c readahead: fix print format for the "count" argument 2016-09-01 15:18:11 +00:00
readlink.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
README README: add system requirements and beautify the file 2016-06-16 20:50:17 +03:00
README-hacking Clarify bootstrap-vs-autoreconf usage 2015-03-03 01:45:30 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
README-mpers mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
README.md Add README.md file with links to build status and test coverage 2016-02-04 18:20:14 +00:00
reboot.c Fix decoding of LINUX_REBOOT_CMD_RESTART2 argument 2016-04-26 17:46:44 +00:00
regs.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c Fix decoding of pid_t argument of prlimit64 syscall 2016-06-06 21:25:36 +00:00
rtc.c Mpersify RTC_* ioctl parser 2016-05-25 16:36:37 +00:00
sched.c Fix printing of struct sched_attr.sched_flags 2016-05-16 22:41:19 +00:00
scsi.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 2016-06-22 14:40:57 +00:00
seccomp_fprog.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
seccomp.c Export print_seccomp_fprog for further use in parser of ptrace syscall 2016-05-12 14:35:02 +00:00
sendfile.c sendfile: decode file offset both on entering and exiting syscall 2015-08-19 13:36:44 +00:00
sigaltstack.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sigevent.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
signal.c Refactor common sa_handler printing code 2016-08-31 15:41:41 +00:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signalfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sigreturn.c cleanup: make arch_sigreturn.c files more readable 2015-11-28 02:58:29 +00:00
sock.c sock.c: use print_sockaddr 2016-06-21 16:56:21 +00:00
sockaddr.c net.c: move all sockaddr parsers to a separate file 2016-06-25 15:47:27 +00:00
socketcall.c Do not print too many arguments of socketcall syscall 2016-07-21 12:32:14 +00:00
socketutils.c Make getfdproto return enum instead of string 2016-06-19 23:01:14 +00:00
sram_alloc.c bfin: fix printing of invalid flags argument of sram_alloc syscall 2016-05-17 08:03:58 +00:00
stat64.c Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
stat.c Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
stat.h Mpersify parsers of struct stat and struct stat64 2016-08-24 15:32:10 +00:00
statfs64.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
statfs.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
statfs.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
strace-graph strace-graph: print the pid in the graph 2016-02-05 00:41:23 +00:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Set exit status to 1 if strace has not traced any processes 2016-07-29 22:47:46 +00:00
strace.c Remove redundant check for PTRACE_LISTEN availability 2016-08-30 09:12:06 +00:00
strace.spec.in Post-release administrivia 2016-07-27 09:19:37 +00:00
swapon.c Fix decoding of swapon flags 2016-04-07 01:15:58 +00:00
sync_file_range2.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 2016-04-22 04:34:22 +00:00
sync_file_range.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 2016-04-22 04:34:22 +00:00
syscall.c Make sure that tcp->s_ent and tcp->s_prev_ent do not point to freed memory 2016-08-09 10:34:09 +00:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sysctl.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sysinfo.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
syslog.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sysmips.c Consistently use printaddr for printing addresses 2016-06-11 09:26:49 +00:00
term.c Fix printing of invalid arguments of term ioctls 2016-05-17 08:03:58 +00:00
time.c Fix old_value argument retrieval in timerfd_settime parser 2016-08-22 09:32:47 +00:00
times.c Rename widen_to_ull to zero_extend_signed_to_ull 2016-08-23 00:24:10 +00:00
travis-build.sh travis: add x86 musl 2016-09-08 22:56:25 +00:00
travis-install.sh travis: add x86 musl 2016-09-08 22:56:25 +00:00
travis-success.sh Split travis-ci.sh 2016-06-18 22:53:25 +00:00
truncate.c truncate.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
ubi.c Move parser of UBI_* ioctls to a separate file 2016-05-28 10:29:30 +00:00
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid.c uid.c: use print_array function 2016-05-07 23:37:53 +00:00
umask.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
umount.c Update umount2 flags 2015-12-07 00:38:38 +00:00
uname.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
unwind.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
upeek.c Fix casts of ptrace's third argument 2016-07-26 16:14:50 +00:00
userfaultfd.c Decode UFFDIO_* ioctls 2016-05-10 10:54:54 +00:00
util.c Move SH-specific argument number calculation to getllval 2016-08-21 22:02:20 +00:00
utime.c Mpersify parser of utime syscall 2015-08-28 08:46:23 +00:00
utimes.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
v4l2.c Unabuse struct tcb.auxstr 2016-07-18 22:12:45 +00:00
vsprintf.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00
wait.c Simplify decoding of waitpid and wait4 syscalls 2016-02-11 03:06:17 +00:00
xattr.c Fix corner cases of xattr family syscalls decoding 2016-05-10 21:50:37 +00:00
xlat.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
xmalloc.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00

This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.

strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please send bug reports and enhancements to the strace mailing list.

Build Status Code Coverage