1 Noteworthy changes in release 4.7
2 =================================
5 * strace no longer suspends waitpid until there is a child
6 for waitpid'ing process to collect status from.
7 * strace no longer detaches from a tracee which is supposed
9 * strace now issues a new message: "+++ exited with EXITCODE +++"
10 which shows exact moment strace got exit notification,
11 analogous to existing "+++ killed by SIG +++" message.
14 * Added x32 personality support (x86_64 architecture).
15 * Added -y and -P options to print file descriptor paths and
16 filter by those paths.
17 * Added -I option to control strace interactivity.
18 * Allowed -p option to take comma or whitespace-separated list of PIDs.
19 * Added strace_log_merge script helper to merge timestamped "strace -ff"
21 * Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
22 preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
23 recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
24 sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
25 * Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
26 listxattr, setrlimit and swapon syscalls.
27 * Implemented decoding of loop and mtd ioctls.
28 * Added syscall entries for new linux syscalls.
29 * Added syscall entries for direct socket system calls on powerpc.
30 * Updated the list of errno constants.
31 * Updated lists of MSG_*, STA_*, and TCP_* constants.
32 * Regenerated the list of ioctl names from Linux 3.3.
33 * Enhanced switching between processes with different personalities.
34 * Enhanced signals reporting by using short signal names.
35 * Made ERESTART* messages more descriptive.
36 * Made parsing of numbers from strings more robust.
37 * Added support for compat_statfs64 and statfs64.f_flags.
38 * Changed read of data blocks to use single process_vm_readv syscall
39 (when available) instead of several PTRACE_PEEKDATA operations.
40 * Changed read of registers on x86 and x86-64 to use single PTRACE_GETREGS
41 operation instead of several PTRACE_PEEKUSER operations.
42 * Applied various optimizations to make strace work faster.
45 * Implemented proper handling of real SIGTRAPs on kernels supporting
46 PTRACE_O_TRACESYSGOOD.
47 (Addresses Fedora bug #162774).
48 * Fixed sockaddr_un.sun_path name in decoded output.
49 (Addresses Debian bug #554946).
50 * Fixed to avoid potential core file clobbering on exit.
51 (Addresses Debian bug #656398).
52 * Fixed a typo in documentation.
53 (Addresses Debian bug #653309).
54 * Fixed decoding of timer id returned by timer_create.
55 * Fixed epoll_create1, epoll_wait and epoll_pwait decoding.
56 * Fixed *at syscalls flags decoding.
57 * Fixed ARM EABI 64-bit syscall's arguments decoding.
58 * Fixed semtimedop decoding on s390.
59 * Fixed osf_sigprocmask decoding on alpha.
60 * Fixed ipc and socket subcall decoding on several architectures.
61 * Corrected syscall entries for epoll_pwait, epoll_create, epoll_ctl,
62 epoll_wait, mincore, mlockall, prctl, reboot, sendfile, sendfile64,
63 sendmsg, sgetmask, ssetmask, swapon, tgkill and tkill syscalls.
64 * Corrected io_* syscall entries on ARM.
65 * Fixed PID prefix printing in "strace -oLOG -ff -p1 -p2 -p3" case.
66 * Fixed logging of unfinished lines in "strace -oLOG -ff" case.
67 * Fixed build when libaio-devel is not available.
68 * Fixed configure checks for PTRACE_* constants.
69 * Fixed compilation warnings remained on several architectures.
72 * Removed all non-Linux code. After years of neglect, that dead code
73 just hampered further strace development.
74 * Linux kernel >= 2.6.18 is recommended. Older versions might still
75 work but they haven't been thoroughly tested with this release.
77 Noteworthy changes in release 4.6
78 =================================
81 * Print diagnostic information about changes in personality mode to
82 standard error instead of standard output.
85 * Implemented a new method of following clone, fork, and vfork
86 syscalls using the Linux kernel's explicit facilities for tracing
87 creation of threads and child processes.
88 * Implemented CLONE_PARENT and CLONE_UNTRACED flags handling.
89 * Implemented decoding of TLS syscalls on m68k.
90 * Implemented biarch support on powerpc64.
91 * Implemented biarch support for getrlimit() and setrlimit().
92 * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
93 * Implemented SOL_SCTP socket options decoding.
94 * Added HDIO_* ioctl names.
95 (Addresses Debian bug #450953).
96 * Added LOOP_* ioctl names.
97 * Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants
98 to match Linux 2.6.37.
99 * Updated the list of IPPROTO_* constants to match netinet/in.h.
100 * Implemented decoding of HDIO_* and BLK* ioctls.
101 * Added MicroBlaze architecture support.
102 * Added new syscall entries to match Linux 2.6.37.
103 * Regenerated list of ioctl names from Linux 2.6.37.
104 * Enhanced signal notification decoding.
105 * Documented -C and -D options.
108 * Fixed fetching syscall arguments on m68k.
109 * Fixed an error when judging whether a process has children.
110 * Fixed get/set_robust_list syscall numbers for powerpc.
111 * Fixed a corner case in printing clone flags.
112 * Fixed cross-compiling issues.
113 * Fixed build issues on powerpc64, SH and SPARC.
114 * Fixed syscall flags of fstatat*, mmap, mmap2, fadvise64*, swapoff,
115 fgetxattr, flistxattr, fremovexattr, epoll_create, fallocate,
116 fanotify_init, and fanotify_mark syscalls.
117 * Fixed decoding of get[ug]id, gete[ug]id and setfs[ug]id return values.
118 * Fixed biarch support in IO dumping.
119 * Fixed raw exit_group decoding.
120 * Fixed decoding of file descriptors on 64-bit architectures.
121 * Fixed a corner case in waitpid handling.
122 (Addresses Red Hat bug #663547).
123 * Fixed stat64 decoding on mips
124 (Addresses Debian bug #599028).
125 * Fixed misleading italics in the manual page.
126 (Addresses Debian bug #589323).
128 Noteworthy changes in release 4.5.20
129 ====================================
132 * Implemented decoding of new linux syscalls: inotify_init1, recvmmsg.
133 * Implemented basic decoding of new linux syscalls: preadv, pwritev,
134 rt_tgsigqueueinfo, perf_event_open.
135 * Enhanced decoding of recently added syscalls on non-x86 architectures
136 by replacing a bare decoder with elaborate parsers enabled earlier
138 * Implemented -C option to combine regular and -c output.
139 (Addresses Debian bug #466196)
140 * Enhanced decoding of mbind and mremap syscalls.
141 * Enhanced SOL_PACKET socket options decoding.
142 * Regenerated list of ioctl names from linux 2.6.33.
143 * Added TILE architecture support.
146 * Fixed build with Linux kernel headers 2.6.32-rc5+.
147 (Addresses Debian bug #560516 and Fedora bug #539044)
148 * Fixed build on mips.
149 * Fixed handling of Linux systems without struct statfs64.
150 * Fixed reporting signal mask by sigreturn on powerpc.
151 * Fixed potential stack buffer overflow in select decoder.
152 (Addresses Fedora bug #556678)
153 * Corrected msgsnd indirect ipccall decoding.
154 * Corrected decoding of 64bit syscalls.
155 (Addresses Debian bug #570603)
156 * Corrected getsockopt decoding on architectures where
157 sizeof(long) > sizeof(int).
158 (Addresses Debian bug #494844)
159 * Corrected decoding of epoll_pwait.
160 (Addresses Debian bug #513014)
161 * Corrected handling of killed threads.
163 Noteworthy changes in release 4.5.19
164 ====================================
166 * Changes in behavior
167 * When command exits, strace now exits with the same exit status.
168 If command is terminated by a signal, strace terminates itself
169 with the same signal, so that strace can be used as a wrapper
170 process transparent to the invoking parent process.
171 When using -p option, the exit status of strace is zero unless
172 there was an unexpected error in doing the tracing.
173 (Addresses Fedora bug #105371 and Debian bug #37665)
176 * Implemented decoding of new Linux syscalls: accept4, dup3,
177 epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4.
178 * Implemented decoding of socket type flags introduced in Linux 2.6.27.
179 * Implemented decoding of accept4 socketcall.
180 * Enhanced prctl decoding.
181 * Enhanced nanosleep decoding.
182 * Enhanced ptrace decoding.
183 * Enhanced futex decoding.
184 * Enhanced CAP_* decoding.
185 * Enhanced SIOCS* ioctls decoding.
186 * Enhanced fcntl F_* flags decoding.
187 * Enhanced semop/semtimedop decoding.
188 * Updated ARM architecture support.
189 * Added Blackfin architecture support.
190 * Added AVR32 architecture support.
191 * Added CRIS architecture support.
192 * Made strace detect when traced process suddenly disappeared.
195 * Fixed syscall numbers for tee and sync_file_range.
196 (Addresses Debian bug #503124)
197 * Fixed several bugs in strings decoder, including potential heap
199 (Addresses Fedora bugs #470529, #478324 and #511035)
200 * Marked sendfile(2) as a network syscall.
201 (Addresses Debian bug #509499)
202 * Fixed accept(2) decoding.
203 (Addresses Debian bug #507573)
204 * Fixed sigtimedwait(2) decoding.
205 * Fixed build on ARM EABI.
206 (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576)
207 * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
208 (Addresses Red Hat bug #471169)
209 * Fixed display of 32-bit argv array on 64-bit architectures.
210 (Addresses Fedora bug #519480)
211 * Fixed display of 32-bit struct sigaction on 64-bit architectures.
212 * Fixed HPPA architecture support.
213 (Addresses Debian bugs #437928 and #546619)
218 * Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
219 * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
224 * -F is now deprecated, -f has traced vfork too on Linux for a long time now.
225 * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
226 * Improved output for prctl system call on Linux.
227 * Improved support for Linux/ARM.
228 * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
233 * Improved output for delete_module, futex, and mbind system calls on Linux.
234 * Improved output for SG_IO ioctls on Linux.
235 * Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
236 eventfd, getcpu, epoll_pwait.
241 * Several biarch improvements.
242 * Improved output for adjtimex, sysctl, quotactl, mount, umount.
243 * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
248 * Accept numeric system calls in -e.
253 * Introduce "-e trace=desc".
258 * Better x86-64 support for IA32 processes.
259 * Update PowerPC system calls.
260 * Better printing for Linux aio system calls.
264 * Quick fix release for build issues.
265 * One fix for Linux/ARM system call table.
270 * Print fault address for SIGSEGV/SIGBUS signals when available.
275 * Improve socket ioctl printing.
276 * Update Linux/IA64 syscall list.
277 * Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
278 * Improve mount flags printing.
279 * Support symbolic printing of x86_64 arch_prctl parameters.
284 * Update syscall tables for Alpha, ARM, HPPA.
285 * Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
286 * Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
287 * Improve ioctl command name matching.
288 * Print RTC_* ioctl structure contents.
289 * Support newer RLIMIT_* values.
290 * Print struct cmsghdr details in sendmsg.
295 * Print attribute values in *xattr system calls on Linux.
296 * Include pread and pwrite calls in -e read and -e write tracing.
297 * Update SO_* and IP_* value lists and add IPV6_* values for socket options.
298 * Print clock_t values symbolically in Linux clock_* system calls.
302 * Bug fixes, Linux ioctl updates.
303 * David Miller contributed support for Linux/SPARC64.
311 * Update Linux ioctl lists.
312 * Update PF_* and AF_* value lists.
313 * The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
318 * On Linux using NPTL threads, -p will now attach to all threads in a process.
319 * Handle new mq_* system calls in Linux 2.6.6 and later.
324 * Report some new VM_* bit values on Linux.
325 * Better output for Linux sched_* system calls.
330 * Display multiple ioctl name matches on Linux.
334 * New port to AMD's x86-64 architecture. One strace binary can
335 handle both new x86-64 and old i386 processes.
336 * Fixed support for LFS64 calls.
337 * New switch -E to add/remove environment variables for the command.
338 * Merged s390/s390x port.
339 * Trace an unbounded number of processes.
340 * Handle numerous new system calls in Linux 2.5, and new threads semantics.
341 * Fixed bugs with attach/detach leaving things stopped.
342 * Fixed traced process seeing ECHILD despite live, traced children
343 in waitpid calls with WNOHANG.
344 * Stuart Menefy contributed a port to Linux/SH.
345 * Stephen Thomas contributed a port to Linux/SH64.
346 * Many other bug fixes.
350 * Fix Linux/ia64 support, looks like someone renamed a few things on us
351 * Fix the ioctl setup for Linux, turned out it did not really work.
352 Improve the ioctl extracter as well so we decode some more ones.
356 * compile fixes for Linux/mips
360 * Linux ia64 and hppa ports added
361 * The usual Linux syscall updates (includes 32bit uid/gid support),
362 * Linux ioctl list updated
363 * Support IPv6 scope ids
364 * FreeBSD/i386 port added
365 * UnixWare and Solaris updates
366 * Better support for tracing multithreaded processes in Linux
370 * Compiles on glibc2.0 systems again
371 * Linux/S390 port added
372 * The usual Linux syscall updates
373 * we can follow fork on arm now
377 * Linux/MIPS port added
378 * Lots of Linux updates again
379 * Improved IPv6 support
385 * Compiles on glibc2.0 systems again
389 * Get stat structure properly on Linux 64bit archs
390 * Personalities work again
391 * Compile correctly on SunOS again
397 * Linux (ultra)sparc fixes
404 * add support for more Linux architectures (powerpc, sparc, arm)
405 * support lots more Linux syscalls
406 * fix signal handling
407 * add IPX and IPIP support
408 * check stray syscall after execv
409 * fix hanging children
411 Changes in version 3.1
412 ======================
415 * Linux 68k is supported
416 * Linux alpha is supported
417 * configure is upgraded to autoconf 2.x
418 * using -f in combination with -e now works correctly
419 * output can be piped to a program
420 * tracing setuid programs works better
421 * it is now reasonable to install strace setuid to root in some circumstances
422 * new useful tracing names like file and process to trace whole
423 classes of system calls, e.g. -efile traces all system calls that
424 take a file name as an argument
425 * IPC calls on SunOS 4.1.x are decoded
426 * Linux program memory is reliably dereferenced
427 * Linux decodes at least the name of all syscalls as of pre2.0.4
428 * various cosmetic changes and bug fixes
430 Changes from versions 2.x to version 3.0
431 ========================================
433 * filename arguments are neither abbreviated nor stringified
434 * string arguments are now true C strings using octal instead of hex by default
435 * preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
436 * by default the output for multiple processes now goes into one file
437 * all structures, vectors, bitsets, etc. use consistent output formats
438 * the -c option now means count calls, -i does what the old -c used to do
440 New Features in version 3.0
441 ===========================
443 * non-ascii strings can be optionally printed entirely in hex
444 * the output format is readable when mutiple processes are generating output
445 * exit values are printed in an alignment column
446 * is is possible to suppress messages about attaching and detaching
447 * various tracing features can be enabled on a per syscall/signal/desc basis
448 * selective tracing of syscalls
449 * selective printing of syscall structures
450 * selective abbreviation of long structures on a per syscall basis
451 * selective printing of raw syscall arguments and results
452 * selective tracing of signals
453 * selective dumping of all I/O read from file descriptors
454 * selective dumping of all I/O written to file descriptors
455 * optional counting of time, calls, and errors for each syscall