| Dmitry V. Levin | fbfed22 | 2009-09-14 16:34:34 +0000 | [diff] [blame^] | 1 | Noteworthy changes in release 4.5.19 | 
 | 2 | ==================================== | 
 | 3 |  | 
 | 4 | * Changes in behavior | 
 | 5 |   * When command exits, strace now exits with the same exit status. | 
 | 6 |     If command is terminated by a signal, strace terminates itself | 
 | 7 |     with the same signal, so that strace can be used as a wrapper | 
 | 8 |     process transparent to the invoking parent process. | 
 | 9 |     When using -p option, the exit status of strace is zero unless | 
 | 10 |     there was an unexpected error in doing the tracing. | 
 | 11 |     (Addresses Fedora bug #105371 and Debian bug #37665) | 
 | 12 |  | 
 | 13 | * Improvements | 
 | 14 |   * Implemented decoding of new Linux syscalls: accept4, dup3, | 
 | 15 |     epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4. | 
 | 16 |   * Implemented decoding of socket type flags introduced in Linux 2.6.27. | 
 | 17 |   * Implemented decoding of accept4 socketcall. | 
 | 18 |   * Enhanced prctl decoding. | 
 | 19 |   * Enhanced nanosleep decoding. | 
 | 20 |   * Enhanced ptrace decoding. | 
 | 21 |   * Enhanced futex decoding. | 
 | 22 |   * Enhanced CAP_* decoding. | 
 | 23 |   * Enhanced SIOCS* ioctls decoding. | 
 | 24 |   * Enhanced fcntl F_* flags decoding. | 
 | 25 |   * Updated ARM architecture support. | 
 | 26 |   * Added Blackfin architecture support. | 
 | 27 |   * Added AVR32 architecture support. | 
 | 28 |   * Added CRIS architecture support. | 
 | 29 |   * Made strace detect when traced process suddenly disappeared. | 
 | 30 |  | 
 | 31 | * Bug fixes | 
 | 32 |   * Fixed syscall numbers for tee and sync_file_range. | 
 | 33 |     (Addresses Debian bug #503124) | 
 | 34 |   * Fixed several bugs in strings decoder, including potential heap | 
 | 35 |     memory corruption. | 
 | 36 |     (Addresses Fedora bugs #470529, #478324 and #511035) | 
 | 37 |   * Marked sendfile(2) as a network syscall. | 
 | 38 |     (Addresses Debian bug #509499) | 
 | 39 |   * Fixed accept(2) decoding. | 
 | 40 |   * Fixed sigtimedwait(2) decoding. | 
 | 41 |   * Fixed build on ARM EABI. | 
 | 42 |     (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576) | 
 | 43 |   * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures. | 
 | 44 |     (Addresses Red Hat bug #471169) | 
 | 45 |   * Fixed display of 32-bit argv array on 64-bit architectures. | 
 | 46 |     (Addresses Fedora bug #519480) | 
 | 47 |   * Fixed display of 32-bit struct sigaction on 64-bit architectures. | 
 | 48 |  | 
| Roland McGrath | 09db705 | 2008-08-28 22:00:46 +0000 | [diff] [blame] | 49 | Changes in 4.5.18 | 
 | 50 | ============== | 
 | 51 | * Bug fixes. | 
 | 52 | * Support new Linux/PPC system call subpage_prot and PROT_SAO flag. | 
 | 53 | * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN. | 
 | 54 |  | 
| Roland McGrath | 55dd278 | 2008-07-18 02:21:11 +0000 | [diff] [blame] | 55 | Changes in 4.5.17 | 
 | 56 | ============== | 
 | 57 | * Many bug fixes. | 
 | 58 | * -F is now deprecated, -f has traced vfork too on Linux for a long time now. | 
 | 59 | * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits. | 
 | 60 | * Improved output for prctl system call on Linux. | 
 | 61 | * Improved support for Linux/ARM. | 
 | 62 | * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND. | 
 | 63 |  | 
| Roland McGrath | 47d3223 | 2007-08-03 10:28:55 +0000 | [diff] [blame] | 64 | Changes in 4.5.16 | 
 | 65 | ============== | 
 | 66 | * Bug fixes. | 
 | 67 | * Improved output for delete_module, futex, and mbind system calls on Linux. | 
 | 68 | * Improved output for SG_IO ioctls on Linux. | 
 | 69 | * Support new Linux system calls move_pages, utimensat, signalfd, timerfd, | 
 | 70 |   eventfd, getcpu, epoll_pwait. | 
 | 71 |  | 
| Roland McGrath | 16a3a52 | 2007-01-11 22:22:42 +0000 | [diff] [blame] | 72 | Changes in 4.5.15 | 
 | 73 | ============== | 
 | 74 | * Bug fixes. | 
 | 75 | * Several biarch improvements. | 
| Roland McGrath | 0a45fae | 2007-01-16 23:25:34 +0000 | [diff] [blame] | 76 | * Improved output for adjtimex, sysctl, quotactl, mount, umount. | 
| Roland McGrath | 16a3a52 | 2007-01-11 22:22:42 +0000 | [diff] [blame] | 77 | * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare. | 
 | 78 |  | 
| Roland McGrath | f4d9b49 | 2006-01-17 06:22:57 +0000 | [diff] [blame] | 79 | Changes in 4.5.14 | 
 | 80 | ============== | 
 | 81 | * Bug fixes. | 
 | 82 | * Accept numeric system calls in -e. | 
 | 83 |  | 
| Roland McGrath | cab4380 | 2005-08-03 11:42:35 +0000 | [diff] [blame] | 84 | Changes in 4.5.13 | 
 | 85 | ============== | 
 | 86 | * Bug fixes. | 
 | 87 | * Introduce "-e trace=desc". | 
 | 88 |  | 
| Roland McGrath | 182cbf4 | 2005-06-10 03:56:16 +0000 | [diff] [blame] | 89 | Changes in 4.5.12 | 
 | 90 | ============== | 
 | 91 | * Bug fixes. | 
 | 92 | * Better x86-64 support for IA32 processes. | 
 | 93 | * Update PowerPC system calls. | 
 | 94 | * Better printing for Linux aio system calls. | 
 | 95 |  | 
| Roland McGrath | 7147a3d | 2005-03-22 23:12:39 +0000 | [diff] [blame] | 96 | Changes in 4.5.11 | 
 | 97 | ============== | 
 | 98 | * Quick fix release for build issues. | 
 | 99 | * One fix for Linux/ARM system call table. | 
 | 100 |  | 
| Roland McGrath | d818403 | 2005-03-15 02:40:12 +0000 | [diff] [blame] | 101 | Changes in 4.5.10 | 
 | 102 | ============== | 
 | 103 | * Bug fixes. | 
 | 104 | * Print fault address for SIGSEGV/SIGBUS signals when available. | 
 | 105 |  | 
| Roland McGrath | d63311a | 2005-02-04 09:29:04 +0000 | [diff] [blame] | 106 | Changes in 4.5.9 | 
 | 107 | ============== | 
 | 108 | * Bug fixes. | 
 | 109 | * Improve socket ioctl printing. | 
 | 110 | * Update Linux/IA64 syscall list. | 
 | 111 | * Fix Linux/x86-64 syscall argument extraction for 32-bit processes. | 
 | 112 | * Improve mount flags printing. | 
 | 113 | * Support symbolic printing of x86_64 arch_prctl parameters. | 
 | 114 |  | 
| Roland McGrath | f041d47 | 2004-10-20 02:17:52 +0000 | [diff] [blame] | 115 | Changes in 4.5.8 | 
 | 116 | ============== | 
 | 117 | * Bug fixes. | 
 | 118 | * Update syscall tables for Alpha, ARM, HPPA. | 
 | 119 | * Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid. | 
 | 120 | * Support Linux syscalls fadvise64, fadvise64_64, and epoll_*. | 
 | 121 | * Improve ioctl command name matching. | 
 | 122 | * Print RTC_* ioctl structure contents. | 
 | 123 | * Support newer RLIMIT_* values. | 
 | 124 | * Print struct cmsghdr details in sendmsg. | 
 | 125 |  | 
| Roland McGrath | b93f918 | 2004-08-31 08:17:20 +0000 | [diff] [blame] | 126 | Changes in 4.5.7 | 
 | 127 | ============== | 
 | 128 | * Bug fixes. | 
 | 129 | * Print attribute values in *xattr system calls on Linux. | 
 | 130 | * Include pread and pwrite calls in -e read and -e write tracing. | 
 | 131 | * Update SO_* and IP_* value lists and add IPV6_* values for socket options. | 
 | 132 | * Print clock_t values symbolically in Linux clock_* system calls. | 
 | 133 |  | 
| Roland McGrath | 785a026 | 2004-07-12 07:55:48 +0000 | [diff] [blame] | 134 | Changes in 4.5.6 | 
 | 135 | ============== | 
 | 136 | * Bug fixes, Linux ioctl updates. | 
 | 137 | * David Miller contributed support for Linux/SPARC64. | 
 | 138 |  | 
| Roland McGrath | b7e2ca1 | 2004-06-28 05:24:29 +0000 | [diff] [blame] | 139 | Changes in 4.5.5 | 
 | 140 | ============== | 
 | 141 | * Just bug fixes. | 
 | 142 |  | 
| Roland McGrath | ed8e77e | 2004-06-04 02:35:58 +0000 | [diff] [blame] | 143 | Changes in 4.5.4 | 
 | 144 | ============== | 
 | 145 | * Update Linux ioctl lists. | 
 | 146 | * Update PF_* and AF_* value lists. | 
 | 147 | * The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed. | 
 | 148 |  | 
| Roland McGrath | 6241220 | 2004-04-09 00:25:38 +0000 | [diff] [blame] | 149 | Changes in 4.5.3 | 
 | 150 | ============== | 
 | 151 | * Bug fixes. | 
 | 152 | * 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] | 153 | * Handle new mq_* system calls in Linux 2.6.6 and later. | 
| Roland McGrath | 6241220 | 2004-04-09 00:25:38 +0000 | [diff] [blame] | 154 |  | 
| Roland McGrath | b66e936 | 2004-03-02 06:38:35 +0000 | [diff] [blame] | 155 | Changes in 4.5.2 | 
 | 156 | ============== | 
 | 157 | * Bug fixes. | 
 | 158 | * Report some new VM_* bit values on Linux. | 
 | 159 | * Better output for Linux sched_* system calls. | 
 | 160 |  | 
| Roland McGrath | 00eb84e | 2003-11-14 02:57:22 +0000 | [diff] [blame] | 161 | Changes in 4.5.1 | 
 | 162 | ============== | 
 | 163 | * Bug fixes. | 
 | 164 | * Display multiple ioctl name matches on Linux. | 
 | 165 |  | 
| Roland McGrath | a3bc12e | 2003-09-24 22:22:38 +0000 | [diff] [blame] | 166 | Changes in 4.5 | 
| Michal Ludvig | 53b320f | 2002-09-23 13:30:09 +0000 | [diff] [blame] | 167 | ============== | 
| Roland McGrath | f57204d | 2002-12-18 04:36:59 +0000 | [diff] [blame] | 168 | * New port to AMD's x86-64 architecture. One strace binary can | 
| Michal Ludvig | 53b320f | 2002-09-23 13:30:09 +0000 | [diff] [blame] | 169 |   handle both new x86-64 and old i386 processes. | 
 | 170 | * Fixed support for LFS64 calls. | 
| Roland McGrath | de6e533 | 2003-01-24 04:31:23 +0000 | [diff] [blame] | 171 | * New switch -E to add/remove environment variables for the command. | 
| Michal Ludvig | 81a3a9a | 2002-11-06 13:19:15 +0000 | [diff] [blame] | 172 | * Merged s390/s390x port. | 
| Roland McGrath | f57204d | 2002-12-18 04:36:59 +0000 | [diff] [blame] | 173 | * Trace an unbounded number of processes. | 
| Roland McGrath | 5694e80 | 2003-01-09 06:56:39 +0000 | [diff] [blame] | 174 | * 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] | 175 | * Fixed bugs with attach/detach leaving things stopped. | 
| Roland McGrath | 044c8d2 | 2002-12-22 03:36:03 +0000 | [diff] [blame] | 176 | * Fixed traced process seeing ECHILD despite live, traced children | 
 | 177 |   in waitpid calls with WNOHANG. | 
| Roland McGrath | 1b86e2d | 2003-03-31 01:21:36 +0000 | [diff] [blame] | 178 | * Stuart Menefy contributed a port to Linux/SH. | 
| Roland McGrath | cb61214 | 2003-07-17 09:23:56 +0000 | [diff] [blame] | 179 | * Stephen Thomas contributed a port to Linux/SH64. | 
| Roland McGrath | acd3cd7 | 2003-06-11 05:37:56 +0000 | [diff] [blame] | 180 | * Many other bug fixes. | 
| Michal Ludvig | 53b320f | 2002-09-23 13:30:09 +0000 | [diff] [blame] | 181 |  | 
| Wichert Akkerman | d22c4a1 | 2001-08-19 11:57:48 +0000 | [diff] [blame] | 182 | Changes in 4.4 | 
 | 183 | ============== | 
 | 184 | * Fix Linux/ia64 support, looks like someone renamed a few things on us | 
 | 185 | * Fix the ioctl setup for Linux, turned out it did not really work. | 
 | 186 |   Improve the ioctl extracter as well so we decode some more ones. | 
 | 187 |  | 
| Wichert Akkerman | e70bbe5 | 2001-04-07 21:47:30 +0000 | [diff] [blame] | 188 | Changes in 4.3.1 | 
 | 189 | ================ | 
 | 190 | * compile fixes for Linux/mips | 
 | 191 |  | 
| Wichert Akkerman | 12f75d1 | 2000-02-14 16:23:40 +0000 | [diff] [blame] | 192 | Changes in 4.3 | 
 | 193 | ============== | 
| Wichert Akkerman | b07296a | 2001-04-01 14:05:04 +0000 | [diff] [blame] | 194 | * Linux ia64 and hppa ports added | 
| Wichert Akkerman | 7987cdf | 2000-07-05 16:05:39 +0000 | [diff] [blame] | 195 | * The usual Linux syscall updates (includes 32bit uid/gid support), | 
| Wichert Akkerman | a966785 | 2001-03-17 17:26:34 +0000 | [diff] [blame] | 196 | * Linux ioctl list updated | 
| Wichert Akkerman | f185065 | 2001-02-16 20:29:03 +0000 | [diff] [blame] | 197 | * Support IPv6 scope ids | 
| Wichert Akkerman | b07296a | 2001-04-01 14:05:04 +0000 | [diff] [blame] | 198 | * FreeBSD/i386 port added | 
 | 199 | * UnixWare and Solaris updates | 
 | 200 | * Better support for tracing multithreaded processes in Linux | 
| Wichert Akkerman | 12f75d1 | 2000-02-14 16:23:40 +0000 | [diff] [blame] | 201 |  | 
| Wichert Akkerman | 4dc8a2a | 1999-12-23 14:20:14 +0000 | [diff] [blame] | 202 | Changes in 4.2 | 
 | 203 | ============== | 
 | 204 | * Compiles on glibc2.0 systems again | 
 | 205 | * Linux/S390 port added | 
| Roland McGrath | f57204d | 2002-12-18 04:36:59 +0000 | [diff] [blame] | 206 | * The usual Linux syscall updates | 
| Wichert Akkerman | 9148a3b | 1999-12-24 23:13:55 +0000 | [diff] [blame] | 207 | * we can follow fork on arm now | 
| Wichert Akkerman | 4dc8a2a | 1999-12-23 14:20:14 +0000 | [diff] [blame] | 208 |  | 
| Wichert Akkerman | 2a64b43 | 1999-11-26 00:29:05 +0000 | [diff] [blame] | 209 | Changes in 4.1 | 
 | 210 | ================ | 
 | 211 | * Linux/MIPS port added | 
 | 212 | * Lots of Linux updates again | 
 | 213 | * Improved IPv6 support | 
 | 214 | * Add strace-graph | 
 | 215 |  | 
| Wichert Akkerman | 4a01ca0 | 1999-07-25 12:29:49 +0000 | [diff] [blame] | 216 | Changes in 4.0.1 | 
 | 217 | ================ | 
 | 218 | * Minor bugfixes | 
 | 219 | * Compiles on glibc2.0 systems again | 
 | 220 |  | 
| Wichert Akkerman | 8dc9a1a | 1999-07-09 14:08:14 +0000 | [diff] [blame] | 221 | Changes in 4.0 | 
 | 222 | ============== | 
 | 223 | * Get stat structure properly on Linux 64bit archs | 
 | 224 | * Personalities work again | 
 | 225 | * Compile correctly on SunOS again | 
 | 226 | * IRIX64 updates | 
 | 227 | * Solaris updates | 
 | 228 |  | 
| Wichert Akkerman | 3f7f49d | 1999-06-09 13:12:11 +0000 | [diff] [blame] | 229 | Changes in 3.99.1 | 
| Wichert Akkerman | 8dc9a1a | 1999-07-09 14:08:14 +0000 | [diff] [blame] | 230 | ================= | 
| Wichert Akkerman | 3f7f49d | 1999-06-09 13:12:11 +0000 | [diff] [blame] | 231 | * Linux (ultra)sparc fixes | 
 | 232 | * Linux alpha fixes | 
 | 233 | * Minor cleanups | 
 | 234 |  | 
| Wichert Akkerman | b859bea | 1999-04-18 22:50:50 +0000 | [diff] [blame] | 235 | Changes in 3.99 | 
 | 236 | =============== | 
| Wichert Akkerman | 1786d81 | 1999-04-15 20:34:14 +0000 | [diff] [blame] | 237 | * New maintainer | 
 | 238 | * add support for more Linux architectures (powerpc, sparc, arm) | 
 | 239 | * support lots more Linux syscalls | 
 | 240 | * fix signal handling | 
 | 241 | * add IPX and IPIP support | 
 | 242 | * check stray syscall after execv | 
 | 243 | * fix hanging children | 
 | 244 |  | 
| Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 245 | Changes in version 3.1 | 
 | 246 | ====================== | 
 | 247 |  | 
 | 248 | * Irix5 is supported | 
 | 249 | * Linux 68k is supported | 
 | 250 | * Linux alpha is supported | 
 | 251 | * configure is upgraded to autoconf 2.x | 
 | 252 | * using -f in combination with -e now works correctly | 
 | 253 | * output can be piped to a program | 
 | 254 | * tracing setuid programs works better | 
 | 255 | * it is now reasonable to install strace setuid to root in some circumstances | 
 | 256 | * new useful tracing names like file and process to trace whole | 
 | 257 |   classes of system calls, e.g. -efile traces all system calls that | 
 | 258 |   take a file name as an argument | 
 | 259 | * IPC calls on SunOS 4.1.x are decoded | 
 | 260 | * Linux program memory is reliably dereferenced | 
 | 261 | * Linux decodes at least the name of all syscalls as of pre2.0.4 | 
 | 262 | * various cosmetic changes and bug fixes | 
 | 263 |  | 
 | 264 | Changes from versions 2.x to version 3.0 | 
 | 265 | ======================================== | 
 | 266 |  | 
 | 267 | * filename arguments are neither abbreviated nor stringified | 
 | 268 | * string arguments are now true C strings using octal instead of hex by default | 
 | 269 | * preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY) | 
 | 270 | * by default the output for multiple processes now goes into one file | 
 | 271 | * all structures, vectors, bitsets, etc. use consistent output formats | 
 | 272 | * the -c option now means count calls, -i does what the old -c used to do | 
 | 273 |  | 
 | 274 | New Features in version 3.0 | 
 | 275 | =========================== | 
 | 276 |  | 
 | 277 | * non-ascii strings can be optionally printed entirely in hex | 
 | 278 | * the output format is readable when mutiple processes are generating output | 
 | 279 | * exit values are printed in an alignment column | 
 | 280 | * is is possible to suppress messages about attaching and detaching | 
 | 281 | * various tracing features can be enabled on a per syscall/signal/desc basis | 
 | 282 | * selective tracing of syscalls | 
 | 283 | * selective printing of syscall structures | 
 | 284 | * selective abbreviation of long structures on a per syscall basis | 
 | 285 | * selective printing of raw syscall arguments and results | 
 | 286 | * selective tracing of signals | 
 | 287 | * selective dumping of all I/O read from file descriptors | 
 | 288 | * selective dumping of all I/O written to file descriptors | 
 | 289 | * optional counting of time, calls, and errors for each syscall |