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