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