1 Noteworthy changes in release 4.5.19
2 ====================================
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)
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 * Enhanced semop/semtimedop decoding.
26 * Updated ARM architecture support.
27 * Added Blackfin architecture support.
28 * Added AVR32 architecture support.
29 * Added CRIS architecture support.
30 * Made strace detect when traced process suddenly disappeared.
33 * Fixed syscall numbers for tee and sync_file_range.
34 (Addresses Debian bug #503124)
35 * Fixed several bugs in strings decoder, including potential heap
37 (Addresses Fedora bugs #470529, #478324 and #511035)
38 * Marked sendfile(2) as a network syscall.
39 (Addresses Debian bug #509499)
40 * Fixed accept(2) decoding.
41 * Fixed sigtimedwait(2) decoding.
42 * Fixed build on ARM EABI.
43 (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576)
44 * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
45 (Addresses Red Hat bug #471169)
46 * Fixed display of 32-bit argv array on 64-bit architectures.
47 (Addresses Fedora bug #519480)
48 * Fixed display of 32-bit struct sigaction on 64-bit architectures.
49 * Fixed HPPA architecture support.
50 (Addresses Debian bugs #437928 and #546619)
55 * Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
56 * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
61 * -F is now deprecated, -f has traced vfork too on Linux for a long time now.
62 * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
63 * Improved output for prctl system call on Linux.
64 * Improved support for Linux/ARM.
65 * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
70 * Improved output for delete_module, futex, and mbind system calls on Linux.
71 * Improved output for SG_IO ioctls on Linux.
72 * Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
73 eventfd, getcpu, epoll_pwait.
78 * Several biarch improvements.
79 * Improved output for adjtimex, sysctl, quotactl, mount, umount.
80 * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
85 * Accept numeric system calls in -e.
90 * Introduce "-e trace=desc".
95 * Better x86-64 support for IA32 processes.
96 * Update PowerPC system calls.
97 * Better printing for Linux aio system calls.
101 * Quick fix release for build issues.
102 * One fix for Linux/ARM system call table.
107 * Print fault address for SIGSEGV/SIGBUS signals when available.
112 * Improve socket ioctl printing.
113 * Update Linux/IA64 syscall list.
114 * Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
115 * Improve mount flags printing.
116 * Support symbolic printing of x86_64 arch_prctl parameters.
121 * Update syscall tables for Alpha, ARM, HPPA.
122 * Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
123 * Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
124 * Improve ioctl command name matching.
125 * Print RTC_* ioctl structure contents.
126 * Support newer RLIMIT_* values.
127 * Print struct cmsghdr details in sendmsg.
132 * Print attribute values in *xattr system calls on Linux.
133 * Include pread and pwrite calls in -e read and -e write tracing.
134 * Update SO_* and IP_* value lists and add IPV6_* values for socket options.
135 * Print clock_t values symbolically in Linux clock_* system calls.
139 * Bug fixes, Linux ioctl updates.
140 * David Miller contributed support for Linux/SPARC64.
148 * Update Linux ioctl lists.
149 * Update PF_* and AF_* value lists.
150 * The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
155 * On Linux using NPTL threads, -p will now attach to all threads in a process.
156 * Handle new mq_* system calls in Linux 2.6.6 and later.
161 * Report some new VM_* bit values on Linux.
162 * Better output for Linux sched_* system calls.
167 * Display multiple ioctl name matches on Linux.
171 * New port to AMD's x86-64 architecture. One strace binary can
172 handle both new x86-64 and old i386 processes.
173 * Fixed support for LFS64 calls.
174 * New switch -E to add/remove environment variables for the command.
175 * Merged s390/s390x port.
176 * Trace an unbounded number of processes.
177 * Handle numerous new system calls in Linux 2.5, and new threads semantics.
178 * Fixed bugs with attach/detach leaving things stopped.
179 * Fixed traced process seeing ECHILD despite live, traced children
180 in waitpid calls with WNOHANG.
181 * Stuart Menefy contributed a port to Linux/SH.
182 * Stephen Thomas contributed a port to Linux/SH64.
183 * Many other bug fixes.
187 * Fix Linux/ia64 support, looks like someone renamed a few things on us
188 * Fix the ioctl setup for Linux, turned out it did not really work.
189 Improve the ioctl extracter as well so we decode some more ones.
193 * compile fixes for Linux/mips
197 * Linux ia64 and hppa ports added
198 * The usual Linux syscall updates (includes 32bit uid/gid support),
199 * Linux ioctl list updated
200 * Support IPv6 scope ids
201 * FreeBSD/i386 port added
202 * UnixWare and Solaris updates
203 * Better support for tracing multithreaded processes in Linux
207 * Compiles on glibc2.0 systems again
208 * Linux/S390 port added
209 * The usual Linux syscall updates
210 * we can follow fork on arm now
214 * Linux/MIPS port added
215 * Lots of Linux updates again
216 * Improved IPv6 support
222 * Compiles on glibc2.0 systems again
226 * Get stat structure properly on Linux 64bit archs
227 * Personalities work again
228 * Compile correctly on SunOS again
234 * Linux (ultra)sparc fixes
241 * add support for more Linux architectures (powerpc, sparc, arm)
242 * support lots more Linux syscalls
243 * fix signal handling
244 * add IPX and IPIP support
245 * check stray syscall after execv
246 * fix hanging children
248 Changes in version 3.1
249 ======================
252 * Linux 68k is supported
253 * Linux alpha is supported
254 * configure is upgraded to autoconf 2.x
255 * using -f in combination with -e now works correctly
256 * output can be piped to a program
257 * tracing setuid programs works better
258 * it is now reasonable to install strace setuid to root in some circumstances
259 * new useful tracing names like file and process to trace whole
260 classes of system calls, e.g. -efile traces all system calls that
261 take a file name as an argument
262 * IPC calls on SunOS 4.1.x are decoded
263 * Linux program memory is reliably dereferenced
264 * Linux decodes at least the name of all syscalls as of pre2.0.4
265 * various cosmetic changes and bug fixes
267 Changes from versions 2.x to version 3.0
268 ========================================
270 * filename arguments are neither abbreviated nor stringified
271 * string arguments are now true C strings using octal instead of hex by default
272 * preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
273 * by default the output for multiple processes now goes into one file
274 * all structures, vectors, bitsets, etc. use consistent output formats
275 * the -c option now means count calls, -i does what the old -c used to do
277 New Features in version 3.0
278 ===========================
280 * non-ascii strings can be optionally printed entirely in hex
281 * the output format is readable when mutiple processes are generating output
282 * exit values are printed in an alignment column
283 * is is possible to suppress messages about attaching and detaching
284 * various tracing features can be enabled on a per syscall/signal/desc basis
285 * selective tracing of syscalls
286 * selective printing of syscall structures
287 * selective abbreviation of long structures on a per syscall basis
288 * selective printing of raw syscall arguments and results
289 * selective tracing of signals
290 * selective dumping of all I/O read from file descriptors
291 * selective dumping of all I/O written to file descriptors
292 * optional counting of time, calls, and errors for each syscall