Go to file
Dmitry V. Levin 4dd9f3f038 Move parser of 'X' type ioctls to a separate file
* fs_x_ioctl.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* block.c: (block_ioctl): Move parser of FITRIM, FIFREEZE, and FITHAW
to fs_x_ioctl.c.
* defs.h (fs_x_ioctl): New prototype.
* ioctl.c (ioctl_decode): Call fs_x_ioctl for ioctl type 'X'.
2016-05-26 14:44:13 +00:00
debian packages/x86_64: enable experimental -k option 2015-12-23 04:36:10 +00:00
linux x32: update ioctl entries from linux 4.6 2016-05-24 14:50:43 +00:00
m4 Update AX_CODE_COVERAGE 2016-05-10 09:51:56 +00:00
maint maint: update for linux 4.6 2016-05-18 09:26:01 +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 test: remove fork.c and vfork.c 2015-12-30 23:28:35 +00:00
tests tests: check decoding of RTC_* ioctls 2016-05-25 17:58:57 +00:00
xlat xlat/btrfs_dev_stats_values.in: cleanup 2016-05-24 14:52:27 +00:00
.gitignore mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
.mailmap .mailmap: add addresses of Kirill A. Shutemov 2015-12-20 00:25:10 +00:00
.travis.yml .travis.yml: raise sleep delay 2016-04-26 16:46:20 +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.c: use print_array function 2016-05-07 22:40:06 +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 Remove parser of query_module syscall 2015-11-24 02:30:45 +00:00
block.c Move parser of 'X' type ioctls to a separate file 2016-05-26 14:44:13 +00:00
bootstrap tests: enable strace-k.test only for --with-libunwind configurations 2016-01-01 23:09:02 +00:00
bpf.c Fix decoding of BPF_MAP_UPDATE_ELEM flags 2016-05-16 21:47:09 +00:00
btrfs.c btrfs.c: fix build on systems without BTRFS_IOC_FILE_EXTENT_SAME 2016-05-24 14:52:27 +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 chmod.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
clone.c Fix printing of invalid flags argument of unshare syscall 2016-05-16 22:49:54 +00:00
configure.ac file_ioctl.c: fix build on systems without <linux/fiemap.h> 2016-05-24 14:52:27 +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 Move parser of 'X' type ioctls to a separate file 2016-05-26 14:44:13 +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 Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +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 Use printpair_int 2015-07-09 01:43:44 +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_statfs.c Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
file_handle.c Implement name_to_handle_at and open_by_handle_at syscalls decoding 2015-11-22 23:21:35 +00:00
file_ioctl.c file_ioctl.c: print file descriptors using printfd 2016-05-25 08:38:53 +00:00
file.c aarch64: swap 64-bit and 32-bit personalities 2015-12-09 01:09:11 +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 Add copyright headers to some files which lack them 2015-12-17 17:56:48 +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 Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
gcc_compat.h Add sentinel attribute to printxvals 2016-04-01 00:52:01 +00:00
generate_mpers_am.sh mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
generate_sen.sh Add unique syscall entry numbers (SENs) 2015-07-12 22:31:49 +00:00
generate_xlat_in.sh Generate xlat/*.in files 2014-05-30 21:40:03 +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 Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +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 Move parser of HDIO_* ioctls to a separate file 2016-05-26 14:44:13 +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 Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
ioctl.c Move parser of 'X' type ioctls to a separate file 2016-05-26 14:44:13 +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 Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msg.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msgctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_sem.c Fix printing of invalid struct sembuf.sem_flg 2016-05-16 22:41:19 +00:00
ipc_shm.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_shmctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
kcmp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
kernel_types.h Add copyright headers to some files which lack them 2015-12-17 17:56:48 +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 Prepare for transition from xlookup64 to xlookup 2016-05-14 22:05:06 +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: enhance loop ioctl parser 2015-07-09 02:04:34 +00:00
lseek.c Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
make-dist Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
Makefile.am Move parser of 'X' type ioctls to a separate file 2016-05-26 14:44:13 +00:00
mem.c Fix printing of invalid arguments of memory mapping related syscalls 2016-05-16 23:47:34 +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 Fix decoding of device numbers in mknod and mknodat syscalls 2016-03-25 23:48:48 +00:00
mount.c Fix printing of invalid flags argument of mount syscall 2016-05-16 23:48:05 +00:00
mpers_test.sh Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mpers_type.h mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
mpers.awk mpers.awk: add support for DWARF files generated by clang 2016-01-13 02:38:59 +00:00
mpers.sh Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mq.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
mtd.c Fix printing of invalid argument of MTDFILEMODE ioctl 2016-05-16 23:48:05 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
net.c Prepare for transition from xlookup64 to xlookup 2016-05-14 22:05:06 +00:00
NEWS Mpersify RTC_* ioctl parser 2016-05-25 16:36:37 +00:00
numa.c Fix printing of invalid flags argument of get_mempolicy syscall 2016-05-16 23:48:05 +00:00
open.c Change type of {s,t}print_open_modes's argument to unsigned 2016-04-29 00:13:20 +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 Implement copy_file_range syscall decoding 2016-02-14 00:36:38 +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 mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
print_statfs.c Fix some compilation warnings on older systems 2016-05-18 09:26:01 +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 Prepare for transition from xlookup64 to xlookup 2016-05-14 22:05:06 +00:00
printrusage.c mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
printsiginfo.c Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
printsiginfo.h printsiginfo: remove "verbose" argument 2016-05-13 22:09:07 +00:00
printstat.h Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
process_vm.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
process.c ptrace: decode data argument of PTRACE_PEEKSIGINFO request 2016-05-13 02:36:14 +00:00
ptp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
ptrace.h Update PTRACE_* constants 2016-01-12 03:07:39 +00:00
quota.c Fix printing of invalid struct xfs_dqblk.d_flags 2016-05-16 22:41:20 +00:00
readahead.c readahead.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
readlink.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
README Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00: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 Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c tests: add xetpriority.test 2016-03-17 09:30:45 +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 scsi.c: print __u64 types using PRI__u64 format 2016-05-26 14:44:13 +00:00
seccomp_fprog.h Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +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 Fix struct sigevent decoding for musl 2016-01-12 03:07:39 +00:00
signal.c Fix decoding of pid_t arguments of kill and tgkill syscalls 2016-04-27 14:04:55 +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 Fix printing of invalid struct ifreq.ifr_flags 2016-05-16 22:41:19 +00:00
socketutils.c Fix one more code pattern that might break gcc strict aliasing rules 2016-05-21 09:33:12 +00:00
sram_alloc.c bfin: fix printing of invalid flags argument of sram_alloc syscall 2016-05-17 08:03:58 +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 Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +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 Implement simultaneous use of -p option and tracing of a command 2016-01-22 19:37:11 +00:00
strace.c printsiginfo: remove "verbose" argument 2016-05-13 22:09:07 +00:00
strace.spec packages: remove acl development library from build dependencies 2015-12-24 00:02:36 +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 Implement decoding of preadv2 and pwritev2 syscalls 2016-05-11 00:58:06 +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 Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
syslog.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sysmips.c mips: fix printing of invalid operations argument of sysmips syscall 2016-05-17 08:03:58 +00:00
term.c Fix printing of invalid arguments of term ioctls 2016-05-17 08:03:58 +00:00
time.c Prepare for transition from xlookup64 to xlookup 2016-05-14 22:05:06 +00:00
times.c Fix explicit casts of signed integer types to unsigned long long 2016-05-26 14:44:13 +00:00
travis-ci.sh travis-ci: pass more gcov arguments to codecov 2016-02-08 18:35:16 +00:00
truncate.c truncate.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +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 umask.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +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 Introduce libstrace.a for potentially conditional compilation units 2016-02-09 05:08:00 +00:00
userfaultfd.c Decode UFFDIO_* ioctls 2016-05-10 10:54:54 +00:00
util.c Rename sprintflags64 to sprintflags. 2016-05-15 14:26:03 +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 mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +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 Fix typo in XLAT_TYPE_PAIR 2016-04-29 20:04:38 +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