]> granicus.if.org Git - strace/blob - NEWS
arc, metag, nios2, or1k, tile: fix build
[strace] / NEWS
1 Noteworthy changes in release ?.?? (????-??-??)
2 ===============================================
3
4 * Bug fixes
5   * Fixed build on arc, metag, nios2, or1k, and tile architectures.
6
7 Noteworthy changes in release 4.11 (2015-12-21)
8 ===============================================
9
10 * Changes in behavior
11   * Some syscalls have different names depending on architecture and
12     personality.  In these cases, syscall filtering and printing now
13     consistently uses the names that match corresponding __NR_* kernel
14     macros of the tracee's architecture and personality.
15   * Added strace prefix to all diagnostic messages.
16
17 * Improvements
18   * Enhanced and extended test suite.
19   * Implemented reliable tracing of processes whose personality differs
20     from the personality of strace, fixed decoding of 32-bit personality
21     syscalls on 64-bit architectures.
22   * When some data referenced by syscall arguments is irrelevant or cannot
23     be read from tracee's memory, strace now prints its address consistently.
24   * When a syscall is restarted using restart_syscall mechanism, strace now
25     shows the syscall name on architectures that expose this information.
26   * Print values returned by epoll_create1, eventfd, eventfd2, fanotify_init,
27     inotify_init1, perf_event_open, pipe, pipe2, signalfd, signalfd4, socket,
28     socketpair, timerfd, and timerfd_create syscalls, as well as F_DUPFD and
29     F_DUPFD_CLOEXEC fcntl commands, as file descriptors.
30   * Optimized decoding of indirect socket syscalls.
31   * Implemented decoding of nanoseconds along with seconds in stat family
32     syscalls (addresses Fedora bug #1251176).
33   * Implemented decoding of struct statfs.f_flags in statfs syscall.
34   * Implemented decoding of siginfo_t.si_syscall and siginfo_t.si_arch
35     in SIGSYS signal.
36   * Implemented decoding of indirect syscall on mips o32.
37   * Implemented decoding of IPPROTO_IP control messages.
38   * Implemented decoding of setsockopt syscall multicast arguments.
39   * Enhanced decoding of struct sigevent.
40   * Enhanced decoding of block, loop, mtd, ptp, rtc, SG_IO, socket, tty,
41     and v4l2 ioctl syscall arguments.
42   * Enhanced decoding of epoll_create, fcntl, fcntl64, futex, getdents,
43     getdents64, getsockopt, io_*, mount, msgctl, prctl, quotactl, recvfrom,
44     sendfile, setsockopt, and shmctl syscalls.
45   * Implemented decoding of bpf, execveat, ioperm, iopl, kcmp, kexec_file_load,
46     lookup_dcookie, membarrier, memfd_create, mlock2, name_to_handle_at,
47     open_by_handle_at, sched_getattr, sched_setattr, and userfaultfd syscalls.
48   * Updated lists of AF_*, EPOLL_*, FALLOC_FL_*, F_*, INPUT_PROP_*, IPPROTO_*,
49     IPV6_*, IP_*, KEY_*, LOCK_*, MNT_*, MS_*, PACKET_*, PERF_FLAG_*, PF_*,
50     PR_*, PTRACE_O_*, RENAME_*, SCTP_*, SECBIT_*, SO_*, TCP_*, and siginfo_t
51     constants.
52   * Added Nios II architecture support.
53   * Added new syscall entries to match Linux 4.4.
54
55 * Bug fixes
56   * Fixed potential short read of strings from tracee's memory.
57   * Fixed -qq option in conjunction with -o option.
58   * Fixed filtering of <unavailable> syscalls.
59   * Fixed decoding of ioctl syscall command on aarch64 and 32-bit architectures
60     with 64-bit aligned structures.
61   * Fixed decoding of eventfd2, epoll_create1, signalfd4, and sync_file_range2
62     syscall flags arguments.
63   * Fixed decoding of 4th argument of clock_nanosleep syscall.
64   * Fixed decoding of getpagesize syscall on m68k.
65   * Fixed decoding of getrandom and seccomp syscalls on aarch64.
66   * Fixed decoding of timezone argument of gettimeofday and settimeofday
67   * syscalls.
68   * Fixed decoding of offset argument of mmap2 syscall on arm, sparc,
69     and sparc64.
70   * Fixed decoding of pipe syscall on alpha and mips.
71   * Fixed decoding of pipe2 syscall on ia64, sh, sparc, and sparc64.
72   * Fixed decoding of signal mask argument of pselect6 syscall on x32.
73   * Fixed decoding of signal mask of rt_sigreturn syscall on aarch64, m68k,
74     and x32.
75   * Fixed decoding of 4th argument of semctl indirect syscall.
76   * Fixed decoding of sa_restorer and sa_mask of sigaction syscall on m68k.
77   * Fixed decoding of statfs64 and fstatfs64 syscalls on arm eabi.
78   * Fixed decoding of struct dirent on x32.
79   * Fixed decoding of times syscall return value on mips n32 and x32.
80   * Fixed decoding of path argument of umount2 syscall
81     (addresses Debian bug #785050).
82   * Worked around a kernel bug in tracing privileged executables.
83   * Fixed various errors in mapping between syscall numbers and associated
84     information like the number of syscall arguments, the name of syscall,
85     and syscall decoder.
86
87 Noteworthy changes in release 4.10 (2015-03-06)
88 ===============================================
89
90 * Improvements
91   * Added -yy option to print protocol and address information associated with
92     socket descriptors.
93   * Extended "-e read=set" and "-e write=set" options to cover sendmsg,
94     recvmsg, sendmmsg, and recvmmsg syscalls.
95   * Implemented full 32-bit decoding of ioctl commands
96     (addresses Debian bug #692913 and Fedora bug #902788).
97   * Implemented PTRACE_GETREGS API support on ia64.
98   * Implemented PTRACE_GETREGS API support on mips.
99   * Implemented PTRACE_GETREGSET API support on s390/s390x.
100   * Implemented decoding of getrandom and seccomp syscalls.
101   * Implemented full decoding of 64-bit capability sets.
102   * Implemented decoding of all prctl commands.
103   * Implemented decoding of parametrized ioctl commands.
104   * Implemented decoding of evdev ioctl commands.
105   * Implemented decoding of v4l ioctl commands.
106   * Implemented decoding of SG_IO v4 ioctl commands.
107   * Implemented decoding of FIFREEZE/FITHAW/FITRIM ioctl commands.
108   * Implemented decoding of FALLOC_FL_* fallocate flags.
109   * Implemented decoding of rt_sigreturn signal mask on aarch64,
110     x32, and x86_64.
111   * Enhanced socket decoder to support bluetooth sockets.
112   * Enhanced decoding of unlisted ioctl commands.
113   * Enhanced decoding of getsockopt and setsockopt syscall.
114   * Enhanced decoding of sysinfo syscall.
115   * Enhanced decoding of struct cmsghdr.
116   * Enhanced decoding of wait status.
117   * Enhanced aio support on non-x86 architectures by using external libaio.h.
118   * Added O_TMPFILE to the list of recognized open mode flags.
119   * Updated the list of filesystem type constants that is used in decoding
120     statfs family syscalls.
121   * Updated lists of CAP_*, PR_*, PTRACE_*, SCHED_*, SO_*, SOL_*, SWAP_FLAG_*,
122     and TFD_* constants.
123   * Updated lists of signal constants from Linux 3.19.
124   * Updated lists of errno constants from Linux 3.19.
125   * Updated lists of ioctl commands from Linux 3.9.
126   * Added new syscall entries to match Linux 3.19.
127
128 * Bug fixes
129   * Fixed various errors in mapping between syscall numbers and associated
130     information like the number of syscall arguments, the name of syscall,
131     and syscall decoder.
132   * Fixed quoting issues in printing descriptors, filenames, network interface
133     names, struct utsname members, device/volume names of BLK* ioctl commands.
134   * Fixed uid_t/git_t decoding.
135   * Fixed potential out-of-bounds read issues in getdents/getdents64 decoders.
136   * Fixed potential open flags truncation on some architectures.
137   * Fixed decoding of struct ifreq.ifr_name.
138   * Fixed decoding of SIOCSIFNAME ioctl command.
139   * Fixed decoding of RENAME_* renameat2 flags.
140   * Fixed decoding of UTIME_NOW/UTIME_OMIT timeval structures.
141   * Fixed decoding of indirect ipc subcalls on some architectures.
142   * Fixed decoding of fanotify_mark syscall on 32-bit architectures.
143   * Fixed decoding of 32-bit stat structures on 64-bit architectures.
144   * Fixed decoding of 32-bit struct cmsghdr on 64-bit architectures.
145   * Fixed decoding of 32-bit preadv/pwritev offset on 64-bit architectures.
146   * Fixed decoding of sigreturn/rt_sigreturn signal mask on ia64, ppc, ppc64,
147     sparc, sparc64, mips, and s390.
148   * Fixed instruction pointer output (-i option) on architectures that support
149     several personalities.
150   * Fixed behaviour of "-e read=set" and "-e write=set" when read and write
151     sets intersect.
152   * Fixed build on systems where struct sigaction has no sa_restorer member.
153   * Fixed build with uclibc and musl libc.
154
155 * Portability
156   * Linux kernel >= 2.5.46 is required.
157     Older versions without a decent PTRACE_SETOPTIONS support will not work.
158   * On mips, linux kernel >= 2.6.15 is required.
159     Older versions without a decent PTRACE_GETREGS support will not work.
160   * On s390 and s390x, linux kernel >= 2.6.27 is required.
161     Older versions without a decent PTRACE_GETREGSET support will not work.
162
163 Noteworthy changes in release 4.9 (2014-08-15)
164 ==============================================
165
166 * Changes in behavior
167   * Disabled OABI support on ARM EABI systems by default,
168     added --enable-arm-oabi option to enable it at configure time.
169
170 * Improvements
171   * Added experimental -k option to print stack trace after each traced syscall.
172   * Added -w option to produce stats on syscall latency.
173     (addresses Debian bug #457497).
174   * Added ARC architecture support.
175   * Added PTRACE_GETREGS API support on PowerPC.
176   * Enhanced Bionic libc and musl libc support.
177   * Enhanced tracing of x86 personality processes on x86_64 and x32.
178   * Enhanced tracing of ARM personality processes on AArch64.
179   * Enhanced 32/64bit personality detection on PowerPC.
180   * Implemented decoding of add_key, ioprio_get, ioprio_set, kexec_load, keyctl,
181     renameat2, and request_key syscalls.
182   * Robustified decoding of select, pselect, and io_submit syscalls.
183   * Enhanced decoding of delete_module, fanotify_init, fanotify_mark, fcntl,
184     setdomainname, sethostname, setns, and sync_file_range syscalls.
185   * Enhanced decoding of signal bitmasks.
186   * Enhanced decoding of file descriptors.
187   * Enhanced siginfo_t decoding.
188   * Enhanced PF_NETLINK decoding.
189   * Updated CLOCK_* constants
190     (addresses Fedora bug #1088455).
191   * Added new syscall entries to match Linux 3.16.
192
193 * Bug fixes
194   * Added shmat and shmdt to the set of memory mapping related syscalls.
195   * Fixed detaching from stopped processes.
196   * Fixed fanotify_mark decoding on 32bit architectures.
197   * Fixed offset decoding in preadv and pwritev syscalls.
198   * Fixed select decoding for glibc in _FORTIFY_SOURCE mode.
199   * Fixed decoding of epoll_ctl syscall with EPOLL_CTL_DEL argument.
200   * Fixed build when <sys/ptrace.h> and <linux/ptrace.h> conflict
201     (addresses Fedora bug #993384).
202   * Miscellaneous corrections in the manual page.
203     (Addresses Debian bug #725987).
204
205 Noteworthy changes in release 4.8 (2013-06-03)
206 ==============================================
207
208 * Changes in behavior
209   * In case of normal strace termination, when the trace output is
210     redirected to a pipe, strace now closes it and waits for the pipe
211     process termination before exit.
212
213 * Improvements
214   * Implemented tracing using PTRACE_SEIZE API (when available).
215   * Implemented more reliable PTRACE_GETREGSET-based process personality
216     detection on x86-64 and x32 (when available).
217   * Added -e trace=memory option for tracing memory mapping related syscalls.
218   * Documented -b option.
219   * Allowed exit status messages to be suppressed by giving -q option twice.
220   * Added AArch64 architecture support
221     (addresses Debian bug #693074 and Fedora bug #969858).
222   * Added support for OpenRISC 1000, Meta, and Xtensa architectures.
223   * Added tilegx personality support for Tile.
224   * Enhanced support of NOMMU architectures.
225   * Enhanced decoding of getdents, mmap, perf_event_open, ptrace, and
226     quotactl syscalls.
227   * Added new syscall entries to match Linux 3.9.
228   * Regenerated the list of common ioctl names from Linux 3.9.
229   * Updated the list of errno constants.
230   * Updated lists of AF_*, MADV_*, MAP_*, MSG_*, MS_*, PF_*, PR_*,
231     PTRACE_O_*, and TCP_* constants.
232   * Implemented decoding of UBI ioctls.
233   * Removed redundant "*32" ioctl names.
234
235 * Bug fixes
236   * Fixed ERESTARTNOINTR leaking to userspace on ancient kernels
237     (addresses Fedora bug #659382).
238   * Fixed kernel release string parsing
239     (addresses Debian bug #702309).
240   * Fixed decoding of *xattr syscalls
241     (addresses Fedora bug #885233).
242   * Fixed handling of files with 64-bit inode numbers by 32-bit strace
243     (addresses Fedora bug #912790).
244   * Fixed tracing forks on SPARC.
245   * Fixed decoding of fadvise64, fallocate, ftruncate64, io_submit, pread,
246     preadv, pwrite, pwritev, readahead, sigaltstack, sync_file_range, sysctl,
247     and truncate64 syscalls.
248   * Fixed categories of multiple syscalls on most of supported architectures.
249   * Fixed decoding of non-native 32-bit personality recv[m]msg syscalls.
250   * Fixed decoding of multiple 32-bit personality syscalls on x32.
251   * Fixed decoding of long long syscall arguments on ARM, MIPS/o32, PowerPC,
252     S390x, and Tile architectures.
253   * Fixed semtimedop decoding on S390x.
254   * Fixed sram_alloc decoding on Blackfin.
255   * Fixed build when process_vm_readv is a stab.
256   * Fixed build with older versions of libaio.h.
257
258 Noteworthy changes in release 4.7 (2012-05-02)
259 ==============================================
260
261 * Changes in behavior
262   * strace no longer suspends waitpid until there is a child
263     for waitpid'ing process to collect status from.
264   * strace no longer detaches from a tracee which is supposed
265     to be going to die.
266   * strace now issues a new message: "+++ exited with EXITCODE +++"
267     which shows exact moment strace got exit notification,
268     analogous to existing "+++ killed by SIG +++" message.
269
270 * Improvements
271   * Added x32 personality support (x86_64 architecture).
272   * Added -y and -P options to print file descriptor paths and
273     filter by those paths.
274   * Added -I option to control strace interactivity.
275   * Allowed -p option to take comma or whitespace-separated list of PIDs.
276   * Added strace_log_merge script helper to merge timestamped "strace -ff"
277     log files.
278   * Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
279     preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
280     recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
281     sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
282   * Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
283     listxattr, setrlimit and swapon syscalls.
284   * Implemented decoding of loop and mtd ioctls.
285   * Added syscall entries for new linux syscalls.
286   * Added syscall entries for direct socket system calls on powerpc.
287   * Updated the list of errno constants.
288   * Updated lists of MSG_*, STA_*, and TCP_* constants.
289   * Regenerated the list of ioctl names from Linux 3.3.
290   * Enhanced switching between processes with different personalities.
291   * Enhanced signals reporting by using short signal names.
292   * Made ERESTART* messages more descriptive.
293   * Made parsing of numbers from strings more robust.
294   * Added support for compat_statfs64 and statfs64.f_flags.
295   * Changed read of data blocks to use single process_vm_readv syscall
296     (when available) instead of several PTRACE_PEEKDATA operations.
297   * Changed read of registers on x86 and x86-64 to use single PTRACE_GETREGS
298     operation instead of several PTRACE_PEEKUSER operations.
299   * Applied various optimizations to make strace work faster.
300
301 * Bug fixes
302   * Implemented proper handling of real SIGTRAPs on kernels supporting
303     PTRACE_O_TRACESYSGOOD.
304     (Addresses Fedora bug #162774).
305   * Fixed sockaddr_un.sun_path name in decoded output.
306     (Addresses Debian bug #554946).
307   * Fixed to avoid potential core file clobbering on exit.
308     (Addresses Debian bug #656398).
309   * Fixed a typo in documentation.
310     (Addresses Debian bug #653309).
311   * Fixed decoding of timer id returned by timer_create.
312   * Fixed epoll_create1, epoll_wait and epoll_pwait decoding.
313   * Fixed *at syscalls flags decoding.
314   * Fixed ARM EABI 64-bit syscall's arguments decoding.
315   * Fixed semtimedop decoding on s390.
316   * Fixed osf_sigprocmask decoding on alpha.
317   * Fixed ipc and socket subcall decoding on several architectures.
318   * Corrected syscall entries for epoll_pwait, epoll_create, epoll_ctl,
319     epoll_wait, mincore, mlockall, prctl, reboot, sendfile, sendfile64,
320     sendmsg, sgetmask, ssetmask, swapon, tgkill and tkill syscalls.
321   * Corrected io_* syscall entries on ARM.
322   * Fixed PID prefix printing in "strace -oLOG -ff -p1 -p2 -p3" case.
323   * Fixed logging of unfinished lines in "strace -oLOG -ff" case.
324   * Fixed build when libaio-devel is not available.
325   * Fixed configure checks for PTRACE_* constants.
326   * Fixed compilation warnings remained on several architectures.
327
328 * Portability
329   * Removed all non-Linux code.  After years of neglect, that dead code
330     just hampered further strace development.
331   * Linux kernel >= 2.6.18 is recommended.  Older versions might still
332     work but they haven't been thoroughly tested with this release.
333
334 Noteworthy changes in release 4.6 (2011-03-15)
335 ==============================================
336
337 * Changes in behavior
338   * Print diagnostic information about changes in personality mode to
339     standard error instead of standard output.
340
341 * Improvements
342   * Implemented a new method of following clone, fork, and vfork
343     syscalls using the Linux kernel's explicit facilities for tracing
344     creation of threads and child processes.
345   * Implemented CLONE_PARENT and CLONE_UNTRACED flags handling.
346   * Implemented decoding of TLS syscalls on m68k.
347   * Implemented biarch support on powerpc64.
348   * Implemented biarch support for getrlimit() and setrlimit().
349   * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
350   * Implemented SOL_SCTP socket options decoding.
351   * Added HDIO_* ioctl names.
352     (Addresses Debian bug #450953).
353   * Added LOOP_* ioctl names.
354   * Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants
355     to match Linux 2.6.37.
356   * Updated the list of IPPROTO_* constants to match netinet/in.h.
357   * Implemented decoding of HDIO_* and BLK* ioctls.
358   * Added MicroBlaze architecture support.
359   * Added new syscall entries to match Linux 2.6.37.
360   * Regenerated list of ioctl names from Linux 2.6.37.
361   * Enhanced signal notification decoding.
362   * Documented -C and -D options.
363
364 * Bug fixes
365   * Fixed fetching syscall arguments on m68k.
366   * Fixed an error when judging whether a process has children.
367   * Fixed get/set_robust_list syscall numbers for powerpc.
368   * Fixed a corner case in printing clone flags.
369   * Fixed cross-compiling issues.
370   * Fixed build issues on powerpc64, SH and SPARC.
371   * Fixed syscall flags of fstatat*, mmap, mmap2, fadvise64*, swapoff,
372     fgetxattr, flistxattr, fremovexattr, epoll_create, fallocate,
373     fanotify_init, and fanotify_mark syscalls.
374   * Fixed decoding of get[ug]id, gete[ug]id and setfs[ug]id return values.
375   * Fixed biarch support in IO dumping.
376   * Fixed raw exit_group decoding.
377   * Fixed decoding of file descriptors on 64-bit architectures.
378   * Fixed a corner case in waitpid handling.
379     (Addresses Red Hat bug #663547).
380   * Fixed stat64 decoding on mips
381     (Addresses Debian bug #599028).
382   * Fixed misleading italics in the manual page.
383     (Addresses Debian bug #589323).
384
385 Noteworthy changes in release 4.5.20 (2010-04-13)
386 =================================================
387
388 * Improvements
389   * Implemented decoding of new linux syscalls: inotify_init1, recvmmsg.
390   * Implemented basic decoding of new linux syscalls: preadv, pwritev,
391     rt_tgsigqueueinfo, perf_event_open.
392   * Enhanced decoding of recently added syscalls on non-x86 architectures
393     by replacing a bare decoder with elaborate parsers enabled earlier
394     for x86/x86-64.
395   * Implemented -C option to combine regular and -c output.
396     (Addresses Debian bug #466196)
397   * Enhanced decoding of mbind and mremap syscalls.
398   * Enhanced SOL_PACKET socket options decoding.
399   * Regenerated list of ioctl names from linux 2.6.33.
400   * Added TILE architecture support.
401
402 * Bug fixes
403   * Fixed build with Linux kernel headers 2.6.32-rc5+.
404     (Addresses Debian bug #560516 and Fedora bug #539044)
405   * Fixed build on mips.
406   * Fixed handling of Linux systems without struct statfs64.
407   * Fixed reporting signal mask by sigreturn on powerpc.
408   * Fixed potential stack buffer overflow in select decoder.
409     (Addresses Fedora bug #556678)
410   * Corrected msgsnd indirect ipccall decoding.
411   * Corrected decoding of 64bit syscalls.
412     (Addresses Debian bug #570603)
413   * Corrected getsockopt decoding on architectures where
414     sizeof(long) > sizeof(int).
415     (Addresses Debian bug #494844)
416   * Corrected decoding of epoll_pwait.
417     (Addresses Debian bug #513014)
418   * Corrected handling of killed threads.
419
420 Noteworthy changes in release 4.5.19 (2009-10-21)
421 =================================================
422
423 * Changes in behavior
424   * When command exits, strace now exits with the same exit status.
425     If command is terminated by a signal, strace terminates itself
426     with the same signal, so that strace can be used as a wrapper
427     process transparent to the invoking parent process.
428     When using -p option, the exit status of strace is zero unless
429     there was an unexpected error in doing the tracing.
430     (Addresses Fedora bug #105371 and Debian bug #37665)
431
432 * Improvements
433   * Implemented decoding of new Linux syscalls: accept4, dup3,
434     epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4.
435   * Implemented decoding of socket type flags introduced in Linux 2.6.27.
436   * Implemented decoding of accept4 socketcall.
437   * Enhanced prctl decoding.
438   * Enhanced nanosleep decoding.
439   * Enhanced ptrace decoding.
440   * Enhanced futex decoding.
441   * Enhanced CAP_* decoding.
442   * Enhanced SIOCS* ioctls decoding.
443   * Enhanced fcntl F_* flags decoding.
444   * Enhanced semop/semtimedop decoding.
445   * Updated ARM architecture support.
446   * Added Blackfin architecture support.
447   * Added AVR32 architecture support.
448   * Added CRIS architecture support.
449   * Made strace detect when traced process suddenly disappeared.
450
451 * Bug fixes
452   * Fixed syscall numbers for tee and sync_file_range.
453     (Addresses Debian bug #503124)
454   * Fixed several bugs in strings decoder, including potential heap
455     memory corruption.
456     (Addresses Fedora bugs #470529, #478324 and #511035)
457   * Marked sendfile(2) as a network syscall.
458     (Addresses Debian bug #509499)
459   * Fixed accept(2) decoding.
460     (Addresses Debian bug #507573)
461   * Fixed sigtimedwait(2) decoding.
462   * Fixed build on ARM EABI.
463     (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576)
464   * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
465     (Addresses Red Hat bug #471169)
466   * Fixed display of 32-bit argv array on 64-bit architectures.
467     (Addresses Fedora bug #519480)
468   * Fixed display of 32-bit struct sigaction on 64-bit architectures.
469   * Fixed HPPA architecture support.
470     (Addresses Debian bugs #437928 and #546619)
471
472 Changes in 4.5.18
473 ==============
474 * Bug fixes.
475 * Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
476 * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
477
478 Changes in 4.5.17
479 ==============
480 * Many bug fixes.
481 * -F is now deprecated, -f has traced vfork too on Linux for a long time now.
482 * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
483 * Improved output for prctl system call on Linux.
484 * Improved support for Linux/ARM.
485 * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
486
487 Changes in 4.5.16
488 ==============
489 * Bug fixes.
490 * Improved output for delete_module, futex, and mbind system calls on Linux.
491 * Improved output for SG_IO ioctls on Linux.
492 * Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
493   eventfd, getcpu, epoll_pwait.
494
495 Changes in 4.5.15
496 ==============
497 * Bug fixes.
498 * Several biarch improvements.
499 * Improved output for adjtimex, sysctl, quotactl, mount, umount.
500 * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
501
502 Changes in 4.5.14
503 ==============
504 * Bug fixes.
505 * Accept numeric system calls in -e.
506
507 Changes in 4.5.13
508 ==============
509 * Bug fixes.
510 * Introduce "-e trace=desc".
511
512 Changes in 4.5.12
513 ==============
514 * Bug fixes.
515 * Better x86-64 support for IA32 processes.
516 * Update PowerPC system calls.
517 * Better printing for Linux aio system calls.
518
519 Changes in 4.5.11
520 ==============
521 * Quick fix release for build issues.
522 * One fix for Linux/ARM system call table.
523
524 Changes in 4.5.10
525 ==============
526 * Bug fixes.
527 * Print fault address for SIGSEGV/SIGBUS signals when available.
528
529 Changes in 4.5.9
530 ==============
531 * Bug fixes.
532 * Improve socket ioctl printing.
533 * Update Linux/IA64 syscall list.
534 * Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
535 * Improve mount flags printing.
536 * Support symbolic printing of x86_64 arch_prctl parameters.
537
538 Changes in 4.5.8
539 ==============
540 * Bug fixes.
541 * Update syscall tables for Alpha, ARM, HPPA.
542 * Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
543 * Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
544 * Improve ioctl command name matching.
545 * Print RTC_* ioctl structure contents.
546 * Support newer RLIMIT_* values.
547 * Print struct cmsghdr details in sendmsg.
548
549 Changes in 4.5.7
550 ==============
551 * Bug fixes.
552 * Print attribute values in *xattr system calls on Linux.
553 * Include pread and pwrite calls in -e read and -e write tracing.
554 * Update SO_* and IP_* value lists and add IPV6_* values for socket options.
555 * Print clock_t values symbolically in Linux clock_* system calls.
556
557 Changes in 4.5.6
558 ==============
559 * Bug fixes, Linux ioctl updates.
560 * David Miller contributed support for Linux/SPARC64.
561
562 Changes in 4.5.5
563 ==============
564 * Just bug fixes.
565
566 Changes in 4.5.4
567 ==============
568 * Update Linux ioctl lists.
569 * Update PF_* and AF_* value lists.
570 * The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
571
572 Changes in 4.5.3
573 ==============
574 * Bug fixes.
575 * On Linux using NPTL threads, -p will now attach to all threads in a process.
576 * Handle new mq_* system calls in Linux 2.6.6 and later.
577
578 Changes in 4.5.2
579 ==============
580 * Bug fixes.
581 * Report some new VM_* bit values on Linux.
582 * Better output for Linux sched_* system calls.
583
584 Changes in 4.5.1
585 ==============
586 * Bug fixes.
587 * Display multiple ioctl name matches on Linux.
588
589 Changes in 4.5
590 ==============
591 * New port to AMD's x86-64 architecture. One strace binary can
592   handle both new x86-64 and old i386 processes.
593 * Fixed support for LFS64 calls.
594 * New switch -E to add/remove environment variables for the command.
595 * Merged s390/s390x port.
596 * Trace an unbounded number of processes.
597 * Handle numerous new system calls in Linux 2.5, and new threads semantics.
598 * Fixed bugs with attach/detach leaving things stopped.
599 * Fixed traced process seeing ECHILD despite live, traced children
600   in waitpid calls with WNOHANG.
601 * Stuart Menefy contributed a port to Linux/SH.
602 * Stephen Thomas contributed a port to Linux/SH64.
603 * Many other bug fixes.
604
605 Changes in 4.4
606 ==============
607 * Fix Linux/ia64 support, looks like someone renamed a few things on us
608 * Fix the ioctl setup for Linux, turned out it did not really work.
609   Improve the ioctl extracter as well so we decode some more ones.
610
611 Changes in 4.3.1
612 ================
613 * compile fixes for Linux/mips
614
615 Changes in 4.3
616 ==============
617 * Linux ia64 and hppa ports added
618 * The usual Linux syscall updates (includes 32bit uid/gid support),
619 * Linux ioctl list updated
620 * Support IPv6 scope ids
621 * FreeBSD/i386 port added
622 * UnixWare and Solaris updates
623 * Better support for tracing multithreaded processes in Linux
624
625 Changes in 4.2
626 ==============
627 * Compiles on glibc2.0 systems again
628 * Linux/S390 port added
629 * The usual Linux syscall updates
630 * we can follow fork on arm now
631
632 Changes in 4.1
633 ================
634 * Linux/MIPS port added
635 * Lots of Linux updates again
636 * Improved IPv6 support
637 * Add strace-graph
638
639 Changes in 4.0.1
640 ================
641 * Minor bugfixes
642 * Compiles on glibc2.0 systems again
643
644 Changes in 4.0
645 ==============
646 * Get stat structure properly on Linux 64bit archs
647 * Personalities work again
648 * Compile correctly on SunOS again
649 * IRIX64 updates
650 * Solaris updates
651
652 Changes in 3.99.1
653 =================
654 * Linux (ultra)sparc fixes
655 * Linux alpha fixes
656 * Minor cleanups
657
658 Changes in 3.99
659 ===============
660 * New maintainer
661 * add support for more Linux architectures (powerpc, sparc, arm)
662 * support lots more Linux syscalls
663 * fix signal handling
664 * add IPX and IPIP support
665 * check stray syscall after execv
666 * fix hanging children
667
668 Changes in version 3.1
669 ======================
670
671 * Irix5 is supported
672 * Linux 68k is supported
673 * Linux alpha is supported
674 * configure is upgraded to autoconf 2.x
675 * using -f in combination with -e now works correctly
676 * output can be piped to a program
677 * tracing setuid programs works better
678 * it is now reasonable to install strace setuid to root in some circumstances
679 * new useful tracing names like file and process to trace whole
680   classes of system calls, e.g. -efile traces all system calls that
681   take a file name as an argument
682 * IPC calls on SunOS 4.1.x are decoded
683 * Linux program memory is reliably dereferenced
684 * Linux decodes at least the name of all syscalls as of pre2.0.4
685 * various cosmetic changes and bug fixes
686
687 Changes from versions 2.x to version 3.0
688 ========================================
689
690 * filename arguments are neither abbreviated nor stringified
691 * string arguments are now true C strings using octal instead of hex by default
692 * preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
693 * by default the output for multiple processes now goes into one file
694 * all structures, vectors, bitsets, etc. use consistent output formats
695 * the -c option now means count calls, -i does what the old -c used to do
696
697 New Features in version 3.0
698 ===========================
699
700 * non-ascii strings can be optionally printed entirely in hex
701 * the output format is readable when mutiple processes are generating output
702 * exit values are printed in an alignment column
703 * is is possible to suppress messages about attaching and detaching
704 * various tracing features can be enabled on a per syscall/signal/desc basis
705 * selective tracing of syscalls
706 * selective printing of syscall structures
707 * selective abbreviation of long structures on a per syscall basis
708 * selective printing of raw syscall arguments and results
709 * selective tracing of signals
710 * selective dumping of all I/O read from file descriptors
711 * selective dumping of all I/O written to file descriptors
712 * optional counting of time, calls, and errors for each syscall