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