blob: 14a6c1e6af63aec412be73588a47f827fe031884 [file] [log] [blame]
Dmitry V. Levinfbfed222009-09-14 16:34:34 +00001Noteworthy 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.
Dmitry V. Levin84c693e2009-10-06 10:40:17 +000048 * Fixed HPPA architecture support.
49 (Addresses Debian bugs #437928 and #546619)
Dmitry V. Levinfbfed222009-09-14 16:34:34 +000050
Roland McGrath09db7052008-08-28 22:00:46 +000051Changes in 4.5.18
52==============
53* Bug fixes.
54* Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
55* In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
56
Roland McGrath55dd2782008-07-18 02:21:11 +000057Changes in 4.5.17
58==============
59* Many bug fixes.
60* -F is now deprecated, -f has traced vfork too on Linux for a long time now.
61* Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
62* Improved output for prctl system call on Linux.
63* Improved support for Linux/ARM.
64* SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
65
Roland McGrath47d32232007-08-03 10:28:55 +000066Changes in 4.5.16
67==============
68* Bug fixes.
69* Improved output for delete_module, futex, and mbind system calls on Linux.
70* Improved output for SG_IO ioctls on Linux.
71* Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
72 eventfd, getcpu, epoll_pwait.
73
Roland McGrath16a3a522007-01-11 22:22:42 +000074Changes in 4.5.15
75==============
76* Bug fixes.
77* Several biarch improvements.
Roland McGrath0a45fae2007-01-16 23:25:34 +000078* Improved output for adjtimex, sysctl, quotactl, mount, umount.
Roland McGrath16a3a522007-01-11 22:22:42 +000079* Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
80
Roland McGrathf4d9b492006-01-17 06:22:57 +000081Changes in 4.5.14
82==============
83* Bug fixes.
84* Accept numeric system calls in -e.
85
Roland McGrathcab43802005-08-03 11:42:35 +000086Changes in 4.5.13
87==============
88* Bug fixes.
89* Introduce "-e trace=desc".
90
Roland McGrath182cbf42005-06-10 03:56:16 +000091Changes in 4.5.12
92==============
93* Bug fixes.
94* Better x86-64 support for IA32 processes.
95* Update PowerPC system calls.
96* Better printing for Linux aio system calls.
97
Roland McGrath7147a3d2005-03-22 23:12:39 +000098Changes in 4.5.11
99==============
100* Quick fix release for build issues.
101* One fix for Linux/ARM system call table.
102
Roland McGrathd8184032005-03-15 02:40:12 +0000103Changes in 4.5.10
104==============
105* Bug fixes.
106* Print fault address for SIGSEGV/SIGBUS signals when available.
107
Roland McGrathd63311a2005-02-04 09:29:04 +0000108Changes in 4.5.9
109==============
110* Bug fixes.
111* Improve socket ioctl printing.
112* Update Linux/IA64 syscall list.
113* Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
114* Improve mount flags printing.
115* Support symbolic printing of x86_64 arch_prctl parameters.
116
Roland McGrathf041d472004-10-20 02:17:52 +0000117Changes in 4.5.8
118==============
119* Bug fixes.
120* Update syscall tables for Alpha, ARM, HPPA.
121* Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
122* Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
123* Improve ioctl command name matching.
124* Print RTC_* ioctl structure contents.
125* Support newer RLIMIT_* values.
126* Print struct cmsghdr details in sendmsg.
127
Roland McGrathb93f9182004-08-31 08:17:20 +0000128Changes in 4.5.7
129==============
130* Bug fixes.
131* Print attribute values in *xattr system calls on Linux.
132* Include pread and pwrite calls in -e read and -e write tracing.
133* Update SO_* and IP_* value lists and add IPV6_* values for socket options.
134* Print clock_t values symbolically in Linux clock_* system calls.
135
Roland McGrath785a0262004-07-12 07:55:48 +0000136Changes in 4.5.6
137==============
138* Bug fixes, Linux ioctl updates.
139* David Miller contributed support for Linux/SPARC64.
140
Roland McGrathb7e2ca12004-06-28 05:24:29 +0000141Changes in 4.5.5
142==============
143* Just bug fixes.
144
Roland McGrathed8e77e2004-06-04 02:35:58 +0000145Changes in 4.5.4
146==============
147* Update Linux ioctl lists.
148* Update PF_* and AF_* value lists.
149* The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
150
Roland McGrath62412202004-04-09 00:25:38 +0000151Changes in 4.5.3
152==============
153* Bug fixes.
154* On Linux using NPTL threads, -p will now attach to all threads in a process.
Roland McGrath5e169a12004-04-16 21:54:56 +0000155* Handle new mq_* system calls in Linux 2.6.6 and later.
Roland McGrath62412202004-04-09 00:25:38 +0000156
Roland McGrathb66e9362004-03-02 06:38:35 +0000157Changes in 4.5.2
158==============
159* Bug fixes.
160* Report some new VM_* bit values on Linux.
161* Better output for Linux sched_* system calls.
162
Roland McGrath00eb84e2003-11-14 02:57:22 +0000163Changes in 4.5.1
164==============
165* Bug fixes.
166* Display multiple ioctl name matches on Linux.
167
Roland McGratha3bc12e2003-09-24 22:22:38 +0000168Changes in 4.5
Michal Ludvig53b320f2002-09-23 13:30:09 +0000169==============
Roland McGrathf57204d2002-12-18 04:36:59 +0000170* New port to AMD's x86-64 architecture. One strace binary can
Michal Ludvig53b320f2002-09-23 13:30:09 +0000171 handle both new x86-64 and old i386 processes.
172* Fixed support for LFS64 calls.
Roland McGrathde6e5332003-01-24 04:31:23 +0000173* New switch -E to add/remove environment variables for the command.
Michal Ludvig81a3a9a2002-11-06 13:19:15 +0000174* Merged s390/s390x port.
Roland McGrathf57204d2002-12-18 04:36:59 +0000175* Trace an unbounded number of processes.
Roland McGrath5694e802003-01-09 06:56:39 +0000176* Handle numerous new system calls in Linux 2.5, and new threads semantics.
Roland McGrathf57204d2002-12-18 04:36:59 +0000177* Fixed bugs with attach/detach leaving things stopped.
Roland McGrath044c8d22002-12-22 03:36:03 +0000178* Fixed traced process seeing ECHILD despite live, traced children
179 in waitpid calls with WNOHANG.
Roland McGrath1b86e2d2003-03-31 01:21:36 +0000180* Stuart Menefy contributed a port to Linux/SH.
Roland McGrathcb612142003-07-17 09:23:56 +0000181* Stephen Thomas contributed a port to Linux/SH64.
Roland McGrathacd3cd72003-06-11 05:37:56 +0000182* Many other bug fixes.
Michal Ludvig53b320f2002-09-23 13:30:09 +0000183
Wichert Akkermand22c4a12001-08-19 11:57:48 +0000184Changes in 4.4
185==============
186* Fix Linux/ia64 support, looks like someone renamed a few things on us
187* Fix the ioctl setup for Linux, turned out it did not really work.
188 Improve the ioctl extracter as well so we decode some more ones.
189
Wichert Akkermane70bbe52001-04-07 21:47:30 +0000190Changes in 4.3.1
191================
192* compile fixes for Linux/mips
193
Wichert Akkerman12f75d12000-02-14 16:23:40 +0000194Changes in 4.3
195==============
Wichert Akkermanb07296a2001-04-01 14:05:04 +0000196* Linux ia64 and hppa ports added
Wichert Akkerman7987cdf2000-07-05 16:05:39 +0000197* The usual Linux syscall updates (includes 32bit uid/gid support),
Wichert Akkermana9667852001-03-17 17:26:34 +0000198* Linux ioctl list updated
Wichert Akkermanf1850652001-02-16 20:29:03 +0000199* Support IPv6 scope ids
Wichert Akkermanb07296a2001-04-01 14:05:04 +0000200* FreeBSD/i386 port added
201* UnixWare and Solaris updates
202* Better support for tracing multithreaded processes in Linux
Wichert Akkerman12f75d12000-02-14 16:23:40 +0000203
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000204Changes in 4.2
205==============
206* Compiles on glibc2.0 systems again
207* Linux/S390 port added
Roland McGrathf57204d2002-12-18 04:36:59 +0000208* The usual Linux syscall updates
Wichert Akkerman9148a3b1999-12-24 23:13:55 +0000209* we can follow fork on arm now
Wichert Akkerman4dc8a2a1999-12-23 14:20:14 +0000210
Wichert Akkerman2a64b431999-11-26 00:29:05 +0000211Changes in 4.1
212================
213* Linux/MIPS port added
214* Lots of Linux updates again
215* Improved IPv6 support
216* Add strace-graph
217
Wichert Akkerman4a01ca01999-07-25 12:29:49 +0000218Changes in 4.0.1
219================
220* Minor bugfixes
221* Compiles on glibc2.0 systems again
222
Wichert Akkerman8dc9a1a1999-07-09 14:08:14 +0000223Changes in 4.0
224==============
225* Get stat structure properly on Linux 64bit archs
226* Personalities work again
227* Compile correctly on SunOS again
228* IRIX64 updates
229* Solaris updates
230
Wichert Akkerman3f7f49d1999-06-09 13:12:11 +0000231Changes in 3.99.1
Wichert Akkerman8dc9a1a1999-07-09 14:08:14 +0000232=================
Wichert Akkerman3f7f49d1999-06-09 13:12:11 +0000233* Linux (ultra)sparc fixes
234* Linux alpha fixes
235* Minor cleanups
236
Wichert Akkermanb859bea1999-04-18 22:50:50 +0000237Changes in 3.99
238===============
Wichert Akkerman1786d811999-04-15 20:34:14 +0000239* New maintainer
240* add support for more Linux architectures (powerpc, sparc, arm)
241* support lots more Linux syscalls
242* fix signal handling
243* add IPX and IPIP support
244* check stray syscall after execv
245* fix hanging children
246
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000247Changes in version 3.1
248======================
249
250* Irix5 is supported
251* Linux 68k is supported
252* Linux alpha is supported
253* configure is upgraded to autoconf 2.x
254* using -f in combination with -e now works correctly
255* output can be piped to a program
256* tracing setuid programs works better
257* it is now reasonable to install strace setuid to root in some circumstances
258* new useful tracing names like file and process to trace whole
259 classes of system calls, e.g. -efile traces all system calls that
260 take a file name as an argument
261* IPC calls on SunOS 4.1.x are decoded
262* Linux program memory is reliably dereferenced
263* Linux decodes at least the name of all syscalls as of pre2.0.4
264* various cosmetic changes and bug fixes
265
266Changes from versions 2.x to version 3.0
267========================================
268
269* filename arguments are neither abbreviated nor stringified
270* string arguments are now true C strings using octal instead of hex by default
271* preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
272* by default the output for multiple processes now goes into one file
273* all structures, vectors, bitsets, etc. use consistent output formats
274* the -c option now means count calls, -i does what the old -c used to do
275
276New Features in version 3.0
277===========================
278
279* non-ascii strings can be optionally printed entirely in hex
280* the output format is readable when mutiple processes are generating output
281* exit values are printed in an alignment column
282* is is possible to suppress messages about attaching and detaching
283* various tracing features can be enabled on a per syscall/signal/desc basis
284* selective tracing of syscalls
285* selective printing of syscall structures
286* selective abbreviation of long structures on a per syscall basis
287* selective printing of raw syscall arguments and results
288* selective tracing of signals
289* selective dumping of all I/O read from file descriptors
290* selective dumping of all I/O written to file descriptors
291* optional counting of time, calls, and errors for each syscall