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