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