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