# # spec file for package strace # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: strace Version: 4.11 Release: 74.2 Summary: A utility to trace the system calls of a program License: BSD-3-Clause Group: Development/Tools/Debuggers Url: http://sourceforge.net/projects/strace/ #Freecode-URL: http://freecode.com/projects/strace #Git-Clone: git://git.code.sf.net/p/strace/code Source: http://downloads.sourceforge.net/strace/%name-%version.tar.xz Source2: http://downloads.sourceforge.net/strace/%name-%version.tar.xz.asc Source3: %name.keyring Source4: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: haveged BuildRequires: libacl-devel BuildRequires: libaio-devel # libunwind is broken on ppc and ppc64 and aarch64 %ifarch %ix86 ia64 x86_64 %{arm} ppc64le BuildRequires: libunwind-devel %endif BuildRequires: lksctp-tools-devel %if 0%{suse_version} > 1140 BuildRequires: sysvinit-tools BuildRequires: time %endif BuildRequires: xz # bug437293 %ifarch ppc64 Obsoletes: strace-64bit %endif %ifarch x86_64 Obsoletes: strace-32bit %endif %description With strace, you can trace the activity of a program. Information about any system calls the program makes and the signals it receives and processes can be seen. Child processes can also be tracked. Authors: -------- Paul Kranenburg Branko Lankester Rick Sladkey %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS" %ifarch alpha CFLAGS="$CFLAGS -ffixed-8" %endif %configure \ %ifarch %sparc --host=%_target_platform \ %endif %{nil} make %{?_smp_mflags} # Have to exclude make check for qemu builds, which apparently don't support PTRACE. #%if !(0%{?qemu_user_space_build}) #%check #haveged=$(PATH=$PATH:/sbin:/usr/sbin type -p haveged) #if test -n "$haveged" && ! /sbin/checkproc $haveged ; then # $haveged --pidfile=$PWD/haveged.pid < /dev/null 1>&0 2>&0 || true #fi #make check || { cat tests/test-suite.log; exit 1; } #if test -s $PWD/haveged.pid ; then # /sbin/killproc -p $PWD/haveged.pid $haveged #fi #%endif %install make install DESTDIR=$RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CREDITS README README-linux-ptrace NEWS %{_prefix}/bin/strace %{_prefix}/bin/strace-graph %{_prefix}/bin/strace-log-merge %{_mandir}/man1/strace.1.gz %changelog * Sat Dec 26 2015 schwab@linux-m68k.org - Update to strace 4.11. * Changes in behavior * Some syscalls have different names depending on architecture and personality. In these cases, syscall filtering and printing now consistently uses the names that match corresponding __NR_* kernel macros of the tracee's architecture and personality. * Added strace prefix to all diagnostic messages. * Improvements * Enhanced and extended test suite. * Implemented reliable tracing of processes whose personality differs from the personality of strace, fixed decoding of 32-bit personality syscalls on 64-bit architectures. * When some data referenced by syscall arguments is irrelevant or cannot be read from tracee's memory, strace now prints its address consistently. * When a syscall is restarted using restart_syscall mechanism, strace now shows the syscall name on architectures that expose this information. * Print values returned by epoll_create1, eventfd, eventfd2, fanotify_init, inotify_init1, perf_event_open, pipe, pipe2, signalfd, signalfd4, socket, socketpair, timerfd, and timerfd_create syscalls, as well as F_DUPFD and F_DUPFD_CLOEXEC fcntl commands, as file descriptors. * Optimized decoding of indirect socket syscalls. * Implemented decoding of nanoseconds along with seconds in stat family syscalls (addresses Fedora bug #1251176). * Implemented decoding of struct statfs.f_flags in statfs syscall. * Implemented decoding of siginfo_t.si_syscall and siginfo_t.si_arch in SIGSYS signal. * Implemented decoding of indirect syscall on mips o32. * Implemented decoding of IPPROTO_IP control messages. * Implemented decoding of setsockopt syscall multicast arguments. * Enhanced decoding of struct sigevent. * Enhanced decoding of block, loop, mtd, ptp, rtc, SG_IO, socket, tty, and v4l2 ioctl syscall arguments. * Enhanced decoding of epoll_create, fcntl, fcntl64, futex, getdents, getdents64, getsockopt, io_*, mount, msgctl, prctl, quotactl, recvfrom, sendfile, setsockopt, and shmctl syscalls. * Implemented decoding of bpf, execveat, ioperm, iopl, kcmp, kexec_file_load, lookup_dcookie, membarrier, memfd_create, mlock2, name_to_handle_at, open_by_handle_at, sched_getattr, sched_setattr, and userfaultfd syscalls. * Updated lists of AF_*, EPOLL_*, FALLOC_FL_*, F_*, INPUT_PROP_*, IPPROTO_*, IPV6_*, IP_*, KEY_*, LOCK_*, MNT_*, MS_*, PACKET_*, PERF_FLAG_*, PF_*, PR_*, PTRACE_O_*, RENAME_*, SCTP_*, SECBIT_*, SO_*, TCP_*, and siginfo_t constants. * Added Nios II architecture support. * Added new syscall entries to match Linux 4.4. * Bug fixes * Fixed potential short read of strings from tracee's memory. * Fixed -qq option in conjunction with -o option. * Fixed filtering of syscalls. * Fixed decoding of ioctl syscall command on aarch64 and 32-bit architectures with 64-bit aligned structures. * Fixed decoding of eventfd2, epoll_create1, signalfd4, and sync_file_range2 syscall flags arguments. * Fixed decoding of 4th argument of clock_nanosleep syscall. * Fixed decoding of getpagesize syscall on m68k. * Fixed decoding of getrandom and seccomp syscalls on aarch64. * Fixed decoding of timezone argument of gettimeofday and settimeofday * syscalls. * Fixed decoding of offset argument of mmap2 syscall on arm, sparc, and sparc64. * Fixed decoding of pipe syscall on alpha and mips. * Fixed decoding of pipe2 syscall on ia64, sh, sparc, and sparc64. * Fixed decoding of signal mask argument of pselect6 syscall on x32. * Fixed decoding of signal mask of rt_sigreturn syscall on aarch64, m68k, and x32. * Fixed decoding of 4th argument of semctl indirect syscall. * Fixed decoding of sa_restorer and sa_mask of sigaction syscall on m68k. * Fixed decoding of statfs64 and fstatfs64 syscalls on arm eabi. * Fixed decoding of struct dirent on x32. * Fixed decoding of times syscall return value on mips n32 and x32. * Fixed decoding of path argument of umount2 syscall (addresses Debian bug #785050). * Worked around a kernel bug in tracing privileged executables. * Fixed various errors in mapping between syscall numbers and associated information like the number of syscall arguments, the name of syscall, and syscall decoder. - All patches removed. 0001-aarch64-fix-rt_sigreturn-decoding.patch 0002-m68k-define-HAVE_SA_RESTORER.patch 0003-Fix-decoding-of-mmap2-for-arm.patch 0005-tests-select.test-handle-architectures-using-pselect.patch 0006-aarch64-fix-ioctl-decoding.patch 0007-m68k-fix-sigreturn-decoding.patch 0008-Fix-crash-in-ipc_sem-test.patch 0009-tests-ipc_-match-IPC_64-flag.patch 0010-semctl-fix-indirect-syscall-decoding.patch 0011-Fix-stat64-st_-acm-time-decoding-for-personalities-w.patch 0012-tests-verify-that-all-patterns-match.patch 0013-aarch64-properly-decode-generic-syscalls.patch 0014-stat64-v.test-add-newfstatat-syscall-support.patch 0015-tests-uid-use-fchown-instead-of-chown.patch * Mon Nov 16 2015 werner@suse.de - Add some package to the build requires to make test suite work. That is haveged to generate entropy, sysvinit-tools to have the tools to control start and stop of haveged, and the package time to make the test on /usr/bin/time possible. * Thu Oct 22 2015 normand@linux.vnet.ibm.com - remove strace_ppc64le_bypass_getrandom_hang.patch as cause of bug boo#946928 identified in builders setup * Mon Sep 28 2015 normand@linux.vnet.ibm.com - new patch to bypass bug boo#946928 strace_ppc64le_bypass_getrandom_hang.patch * Wed May 20 2015 schwab@suse.de - Disable libunwind support on aarch64 (../strace: Can't initiate libunwind: Input/output error) * Sun Mar 29 2015 jengelh@inai.de - Drop strace-32bit, since the normal strace build is powerful enough. [bnc#924827] * Tue Mar 24 2015 schwab@suse.de - 0001-aarch64-fix-rt_sigreturn-decoding.patch, 0002-m68k-define-HAVE_SA_RESTORER.patch, 0003-Fix-decoding-of-mmap2-for-arm.patch, 0005-tests-select.test-handle-architectures-using-pselect.patch, 0006-aarch64-fix-ioctl-decoding.patch, 0007-m68k-fix-sigreturn-decoding.patch, 0008-Fix-crash-in-ipc_sem-test.patch, 0009-tests-ipc_-match-IPC_64-flag.patch, 0010-semctl-fix-indirect-syscall-decoding.patch, 0011-Fix-stat64-st_-acm-time-decoding-for-personalities-w.patch, 0012-tests-verify-that-all-patterns-match.patch, 0013-aarch64-properly-decode-generic-syscalls.patch, 0014-stat64-v.test-add-newfstatat-syscall-support.patch, 0015-tests-uid-use-fchown-instead-of-chown.patch: Patches from upstream to fix testsuite failure. - Enable libunwind support (strace -k). * Fri Mar 20 2015 crrodriguez@opensuse.org - Update to strace 4.10 * Improvements * Added -yy option to print protocol and address information associated with socket descriptors. * Extended "-e read=set" and "-e write=set" options to cover sendmsg, recvmsg, sendmmsg, and recvmmsg syscalls. * Implemented full 32-bit decoding of ioctl commands (addresses Debian bug #692913 and Fedora bug #902788). * Implemented PTRACE_GETREGS API support on ia64. * Implemented PTRACE_GETREGS API support on mips. * Implemented PTRACE_GETREGSET API support on s390/s390x. * Implemented decoding of getrandom and seccomp syscalls. * Implemented full decoding of 64-bit capability sets. * Implemented decoding of all prctl commands. * Implemented decoding of parametrized ioctl commands. * Implemented decoding of evdev ioctl commands. * Implemented decoding of v4l ioctl commands. * Implemented decoding of SG_IO v4 ioctl commands. * Implemented decoding of FIFREEZE/FITHAW/FITRIM ioctl commands. * Implemented decoding of FALLOC_FL_* fallocate flags. * Implemented decoding of rt_sigreturn signal mask on aarch64, x32, and x86_64. * Enhanced socket decoder to support bluetooth sockets. * Enhanced decoding of unlisted ioctl commands. * Enhanced decoding of getsockopt and setsockopt syscall. * Enhanced decoding of sysinfo syscall. * Enhanced decoding of struct cmsghdr. * Enhanced decoding of wait status. * Enhanced aio support on non-x86 architectures by using external libaio.h. * Added O_TMPFILE to the list of recognized open mode flags. * Updated the list of filesystem type constants that is used in decoding statfs family syscalls. * Updated lists of CAP_*, PR_*, PTRACE_*, SCHED_*, SO_*, SOL_*, SWAP_FLAG_*, and TFD_* constants. * Updated lists of signal constants from Linux 3.19. * Updated lists of errno constants from Linux 3.19. * Updated lists of ioctl commands from Linux 3.9. * Added new syscall entries to match Linux 3.19. * Bug fixes * Fixed various errors in mapping between syscall numbers and associated information like the number of syscall arguments, the name of syscall, and syscall decoder. * Fixed quoting issues in printing descriptors, filenames, network interface names, struct utsname members, device/volume names of BLK* ioctl commands. * Fixed uid_t/git_t decoding. * Fixed potential out-of-bounds read issues in getdents/getdents64 decoders. * Fixed potential open flags truncation on some architectures. * Fixed decoding of struct ifreq.ifr_name. * Fixed decoding of SIOCSIFNAME ioctl command. * Fixed decoding of RENAME_* renameat2 flags. * Fixed decoding of UTIME_NOW/UTIME_OMIT timeval structures. * Fixed decoding of indirect ipc subcalls on some architectures. * Fixed decoding of fanotify_mark syscall on 32-bit architectures. * Fixed decoding of 32-bit stat structures on 64-bit architectures. * Fixed decoding of 32-bit struct cmsghdr on 64-bit architectures. * Fixed decoding of 32-bit preadv/pwritev offset on 64-bit architectures. * Fixed decoding of sigreturn/rt_sigreturn signal mask on ia64, ppc, ppc64, sparc, sparc64, mips, and s390. * Fixed instruction pointer output (-i option) on architectures that support several personalities. * Fixed behaviour of "-e read=set" and "-e write=set" when read and write sets intersect. * Fixed build on systems where struct sigaction has no sa_restorer member. * Wed Nov 26 2014 schwab@linux-m68k.org - Update to strace 4.9: * Changes in behavior * Disabled OABI support on ARM EABI systems by default, added --enable-arm-oabi option to enable it at configure time. * Improvements * Added experimental -k option to print stack trace after each traced syscall. * Added -w option to produce stats on syscall latency. (addresses Debian bug #457497). * Added ARC architecture support. * Added PTRACE_GETREGS API support on PowerPC. * Enhanced Bionic libc and musl libc support. * Enhanced tracing of x86 personality processes on x86_64 and x32. * Enhanced tracing of ARM personality processes on AArch64. * Enhanced 32/64bit personality detection on PowerPC. * Implemented decoding of add_key, ioprio_get, ioprio_set, kexec_load, keyctl, renameat2, and request_key syscalls. * Robustified decoding of select, pselect, and io_submit syscalls. * Enhanced decoding of delete_module, fanotify_init, fanotify_mark, fcntl, setdomainname, sethostname, setns, and sync_file_range syscalls. * Enhanced decoding of signal bitmasks. * Enhanced decoding of file descriptors. * Enhanced siginfo_t decoding. * Enhanced PF_NETLINK decoding. * Updated CLOCK_* constants (addresses Fedora bug #1088455). * Added new syscall entries to match Linux 3.16. * Bug fixes * Added shmat and shmdt to the set of memory mapping related syscalls. * Fixed detaching from stopped processes. * Fixed fanotify_mark decoding on 32bit architectures. * Fixed offset decoding in preadv and pwritev syscalls. * Fixed select decoding for glibc in _FORTIFY_SOURCE mode. * Fixed decoding of epoll_ctl syscall with EPOLL_CTL_DEL argument. * Fixed build when and conflict (addresses Fedora bug #993384). * Miscellaneous corrections in the manual page. (Addresses Debian bug #725987). - Remove obsolete patches: * strace-4.7.diff * strace-linux-ptrace-h.patch * strace-ppc64le.patch * strace_cid_03ef0b2.patch * Fri Nov 14 2014 dimstar@opensuse.org - No longer perform gpg validation; osc source_validator does it implicit: + Drop gpg-offline BuildRequires. + No longer execute gpg_verify. * Tue Feb 25 2014 normand@linux.vnet.ibm.com - strace -p 99999 segfault for ppc64le archi disapear if upstream patch 03ef0b2 is applied to this strace 4.8 version (bnc#865151) - added patches: * strace_cid_03ef0b2.patch * Wed Dec 4 2013 dvaleev@suse.com - Make ppc64le architecture known /usr/bin/osc - added patches: * strace-ppc64le.patch * Wed Aug 14 2013 schwab@suse.de - strace-linux-ptrace-h.patch: handle conflict with struct ptrace_peeksiginfo_args between and * Thu Jun 13 2013 jengelh@inai.de - Update to new upstream release 4.8 * This is a stable release, with the usual bugfixes, enhanced support for fresh Linux kernels, and other improvements. - Signature verification; remove redundant %%clean section - Remove strace-aarch64.diff (merged) * Sat Mar 2 2013 schwab@suse.de - strace-aarch64.diff Support for AArch64 from upstream * Tue May 22 2012 frank.lichtenheld@sophos.com - Add BuildRequires on xz to allow build on SLE_11_SP2 * Thu May 3 2012 meissner@suse.de - updated to 4.7 * Changes in behavior * strace no longer suspends waitpid until there is a child for waitpid'ing process to collect status from. * strace no longer detaches from a tracee which is supposed to be going to die. * strace now issues a new message: "+++ exited with EXITCODE +++" which shows exact moment strace got exit notification, analogous to existing "+++ killed by SIG +++" message. * Improvements * Added x32 personality support (x86_64 architecture). * Added -y and -P options to print file descriptor paths and filter by those paths. * Added -I option to control strace interactivity. * Allowed -p option to take comma or whitespace-separated list of PIDs. * Added strace_log_merge script helper to merge timestamped "strace -ff" log files. * Implemented decoding of clock_adjtime, get_robust_list, migrate_pages, preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev, recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list, sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls. * Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit, listxattr, setrlimit and swapon syscalls. * Implemented decoding of loop and mtd ioctls. * Added syscall entries for new linux syscalls. * Added syscall entries for direct socket system calls on powerpc. * Updated the list of errno constants. * Updated lists of MSG_*, STA_*, and TCP_* constants. * Regenerated the list of ioctl names from Linux 3.3. * Enhanced switching between processes with different personalities. * Enhanced signals reporting by using short signal names. * Made ERESTART* messages more descriptive. * Made parsing of numbers from strings more robust. * Added support for compat_statfs64 and statfs64.f_flags. * Changed read of data blocks to use single process_vm_readv syscall (when available) instead of several PTRACE_PEEKDATA operations. * Changed read of registers on x86 and x86-64 to use single PTRACE_GETREGS operation instead of several PTRACE_PEEKUSER operations. * Applied various optimizations to make strace work faster. * Bug fixes * Implemented proper handling of real SIGTRAPs on kernels supporting PTRACE_O_TRACESYSGOOD. (Addresses Fedora bug #162774). * Fixed sockaddr_un.sun_path name in decoded output. (Addresses Debian bug #554946). * Fixed to avoid potential core file clobbering on exit. (Addresses Debian bug #656398). * Fixed a typo in documentation. (Addresses Debian bug #653309). * Fixed decoding of timer id returned by timer_create. * Fixed epoll_create1, epoll_wait and epoll_pwait decoding. * Fixed *at syscalls flags decoding. * Fixed ARM EABI 64-bit syscall's arguments decoding. * Fixed semtimedop decoding on s390. * Fixed osf_sigprocmask decoding on alpha. * Fixed ipc and socket subcall decoding on several architectures. * Corrected syscall entries for epoll_pwait, epoll_create, epoll_ctl, epoll_wait, mincore, mlockall, prctl, reboot, sendfile, sendfile64, sendmsg, sgetmask, ssetmask, swapon, tgkill and tkill syscalls. * Corrected io_* syscall entries on ARM. * Fixed PID prefix printing in "strace -oLOG -ff -p1 -p2 -p3" case. * Fixed logging of unfinished lines in "strace -oLOG -ff" case. * Fixed build when libaio-devel is not available. * Fixed configure checks for PTRACE_* constants. * Fixed compilation warnings remained on several architectures. * Portability * Removed all non-Linux code. After years of neglect, that dead code just hampered further strace development. * Linux kernel >= 2.6.18 is recommended. Older versions might still work but they haven't been thoroughly tested with this release. * Tue Oct 4 2011 tserong@suse.com - Skip "make check" when building under qemu (PTRACE not supported) * Mon Apr 11 2011 meissner@suse.de - More AIO decoding from Andi Kleen, bnc#679917 * Wed Mar 16 2011 meissner@suse.de - Updated to 4.6 * Changes in behavior * Print diagnostic information about changes in personality mode to standard error instead of standard output. * Improvements * Implemented a new method of following clone, fork, and vfork syscalls using the Linux kernel's explicit facilities for tracing creation of threads and child processes. * Implemented CLONE_PARENT and CLONE_UNTRACED flags handling. * Implemented decoding of TLS syscalls on m68k. * Implemented biarch support on powerpc64. * Implemented biarch support for getrlimit() and setrlimit(). * Implemented decoding of struct ucred in getsockopt SO_PEERCRED. * Implemented SOL_SCTP socket options decoding. * Added HDIO_* ioctl names. (Addresses Debian bug #450953). * Added LOOP_* ioctl names. * Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants to match Linux 2.6.37. * Updated the list of IPPROTO_* constants to match netinet/in.h. * Implemented decoding of HDIO_* and BLK* ioctls. * Added MicroBlaze architecture support. * Added new syscall entries to match Linux 2.6.37. * Regenerated list of ioctl names from Linux 2.6.37. * Enhanced signal notification decoding. * Documented -C and -D options. * Bug fixes * Fixed fetching syscall arguments on m68k. * Fixed an error when judging whether a process has children. * Fixed get/set_robust_list syscall numbers for powerpc. * Fixed a corner case in printing clone flags. * Fixed cross-compiling issues. * Fixed build issues on powerpc64, SH and SPARC. * Fixed syscall flags of fstatat*, mmap, mmap2, fadvise64*, swapoff, fgetxattr, flistxattr, fremovexattr, epoll_create, fallocate, fanotify_init, and fanotify_mark syscalls. * Fixed decoding of get[ug]id, gete[ug]id and setfs[ug]id return values. * Fixed biarch support in IO dumping. * Fixed raw exit_group decoding. * Fixed decoding of file descriptors on 64-bit architectures. * Fixed a corner case in waitpid handling. (Addresses Red Hat bug #663547). * Fixed stat64 decoding on mips (Addresses Debian bug #599028). * Fixed misleading italics in the manual page. (Addresses Debian bug #589323). - buildrequire libaio-devel bnc#679917 - buildrequire lksctp-tools-devel for sctp decoding * Wed Dec 8 2010 puzel@novell.com - add strace-add-support-for-block-ioctls.patch * Tue Jul 6 2010 jengelh@medozas.de - SPARC compile fixes - Use %%_smp_mflags * Thu Apr 15 2010 jw@novell.com - Update to version 4.5.20 * Implemented decoding of new linux syscalls: inotify_init1, recvmmsg. * Implemented basic decoding of new linux syscalls: preadv, pwritev, rt_tgsigqueueinfo, perf_event_open. * Enhanced decoding of recently added syscalls on non-x86 architectures by replacing a bare decoder with elaborate parsers enabled earlier for x86/x86-64. * Implemented -C option to combine regular and -c output. (Addresses Debian bug #466196) * Enhanced decoding of mbind and mremap syscalls. * Enhanced SOL_PACKET socket options decoding. * Regenerated list of ioctl names from linux 2.6.33. * Added TILE architecture support. * Fixed build with Linux kernel headers 2.6.32-rc5+. (Addresses Debian bug #560516 and Fedora bug #539044) * Fixed build on mips. * Fixed handling of Linux systems without struct statfs64. * Fixed reporting signal mask by sigreturn on powerpc. * Fixed potential stack buffer overflow in select decoder. (Addresses Fedora bug #556678) * Corrected msgsnd indirect ipccall decoding. * Corrected decoding of 64bit syscalls. (Addresses Debian bug #570603) * Corrected getsockopt decoding on architectures where sizeof(long) > sizeof(int). (Addresses Debian bug #494844) * Corrected decoding of epoll_pwait. (Addresses Debian bug #513014) * Corrected handling of killed threads. - strace-4.5.19.diff almost fully upstreamed. shortening to one minor hunk. * Sat Feb 13 2010 rguenther@suse.de - Update to version 4.5.19. * When command exits, strace now exits with the same exit status. If command is terminated by a signal, strace terminates itself with the same signal, so that strace can be used as a wrapper process transparent to the invoking parent process. When using -p option, the exit status of strace is zero unless there was an unexpected error in doing the tracing. (Addresses Fedora bug #105371 and Debian bug #37665) * Implemented decoding of new Linux syscalls: accept4, dup3, epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4. * Implemented decoding of socket type flags introduced in Linux 2.6.27. * Implemented decoding of accept4 socketcall. * Enhanced prctl decoding. * Enhanced nanosleep decoding. * Enhanced ptrace decoding. * Enhanced futex decoding. * Enhanced CAP_* decoding. * Enhanced SIOCS* ioctls decoding. * Enhanced fcntl F_* flags decoding. * Enhanced semop/semtimedop decoding. * Updated ARM architecture support. * Added Blackfin architecture support. * Added AVR32 architecture support. * Added CRIS architecture support. * Made strace detect when traced process suddenly disappeared. * Fixed syscall numbers for tee and sync_file_range. (Addresses Debian bug #503124) * Fixed several bugs in strings decoder, including potential heap memory corruption. (Addresses Fedora bugs #470529, #478324 and #511035) * Marked sendfile(2) as a network syscall. (Addresses Debian bug #509499) * Fixed accept(2) decoding. * Fixed sigtimedwait(2) decoding. * Fixed build on ARM EABI. (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576) * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures. (Addresses Red Hat bug #471169) * Fixed display of 32-bit argv array on 64-bit architectures. (Addresses Fedora bug #519480) * Fixed display of 32-bit struct sigaction on 64-bit architectures. * Fixed HPPA architecture support. (Addresses Debian bugs #437928 and #546619) - fix check for linux/netlink.h * Mon Feb 1 2010 jengelh@medozas.de - package baselibs.conf * Wed Jan 7 2009 schwab@suse.de - Fix decoding of accept(2). * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293) * Tue Nov 11 2008 schwab@suse.de - Fix corner cases in printstr and printpathn. * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Tue Sep 2 2008 schwab@suse.de - Update to strace 4.5.18. * Bug fixes. * Support new Linux/PPC system call subpage_prot and PROT_SAO flag. * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN. * Tue Aug 12 2008 schwab@suse.de - Add fix for madvice decoding. * Tue Aug 5 2008 schwab@suse.de - Add fix for vfork handling. * Tue Jul 22 2008 schwab@suse.de - Update to strace 4.5.17. * Many bug fixes. * -F is now deprecated, -f has traced vfork too on Linux for a long time now. * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits. * Improved output for prctl system call on Linux. * Improved support for Linux/ARM. * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND. * Mon Jun 30 2008 schwab@suse.de - Fix following vfork and clone2. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Mon Nov 19 2007 schwab@suse.de - Fix getdents64 decoding. * Fri Aug 3 2007 schwab@suse.de - Update to strace 4.5.16. * Bug fixes. * Improved output for delete_module, futex, and mbind system calls on Linux. * Improved output for SG_IO ioctls on Linux. * Support new Linux system calls move_pages, utimensat, signalfd, timerfd, eventfd, getcpu, epoll_pwait. * Wed Apr 18 2007 schwab@suse.de - Decode more ptrace options. * Fri Mar 16 2007 schwab@suse.de - Remove obsolete patch. * Wed Jan 17 2007 schwab@suse.de - Update to strace 4.5.15. * Bug fixes. * Several biarch improvements. * Improved output for adjtimex, sysctl, quotactl, mount, umount. * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare. * Mon Oct 9 2006 schwab@suse.de - Fix compilation with 2.6.18 kernel headers. * Fri Sep 29 2006 schwab@suse.de - Fix use of PT_GETSIGINFO. * Fri Sep 8 2006 schwab@suse.de - Fix last change. * Thu Sep 7 2006 schwab@suse.de - Add fixes from repository. * Wed May 31 2006 schwab@suse.de - Fix missing arguments. * Sat Apr 29 2006 schwab@suse.de - Add *at syscalls on ppc. * Wed Apr 26 2006 schwab@suse.de - Fix socket/ipc subcall decoding. - Fix ioctl decoding. * Wed Apr 5 2006 schwab@suse.de - Fix last change so it doesn't break ia64. - Add all other missing syscalls. * Fri Mar 31 2006 bk@suse.de - add parsing for the 13 *at syscalls and pselect6(i386 and x86_84) * Sat Mar 4 2006 schwab@suse.de - Update to strace 4.5.14 (numerous bug fixes, required to support new kernel features). * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Nov 7 2005 schwab@suse.de - Follow all fork-like syscalls in strace-graph. * Mon Oct 31 2005 od@suse.de - add struct sysinfo member mem_unit for linux >= 2.3.48 * Fri Oct 28 2005 dmueller@suse.de - actually add inotify support * Thu Oct 13 2005 schwab@suse.de - Add more syscall entries. * Fri Oct 7 2005 schwab@suse.de - Fix decoding of IPC syscalls. * Thu Jul 21 2005 schwab@suse.de - Update quota patch. * Wed Jun 22 2005 schwab@suse.de - Fix decoding of gettid. * Mon Jun 20 2005 schwab@suse.de - Update to strace 4.5.12. * Wed Mar 30 2005 schwab@suse.de - Update to strace 4.5.11. * Wed Mar 16 2005 schwab@suse.de - Update to strace 4.5.10. * Sun Feb 27 2005 schwab@suse.de - Fix getrval2 on ia64. * Fri Feb 4 2005 schwab@suse.de - Update to strace 4.5.9. * Sat Jan 22 2005 schwab@suse.de - Fix getsockopt decoding. * Tue Dec 7 2004 uli@suse.de - added -i support on s390* * Fri Nov 12 2004 schwab@suse.de - Update to strace 4.5.8. * Tue Aug 31 2004 schwab@suse.de - Update to strace 4.5.7. * Mon Jul 12 2004 schwab@suse.de - Update to strace 4.5.6. * Mon Jun 28 2004 schwab@suse.de - Update to strace 4.5.5. * Sat Jun 5 2004 schwab@suse.de - Update to strace 4.5.4. * Wed May 5 2004 schwab@suse.de - Fix handing of execve [#38479]. * Sat Apr 17 2004 schwab@suse.de - Update to strace 4.5.3. * Mon Apr 5 2004 schwab@suse.de - Sign extend pid in sys_kill [#38433]. * Mon Mar 8 2004 schwab@suse.de - Update to strace 4.5.2, incorporates all recent changes. * Thu Feb 26 2004 schwab@suse.de - Update from CVS. - Fix decoding of pipe syscall. * Thu Jan 15 2004 schwab@suse.de - Fix use of kernel headers. * Wed Nov 26 2003 schwab@suse.de - Update to strace 4.5.1. * Tue Oct 7 2003 schwab@suse.de - Fix building with new kernel headers. * Thu Sep 25 2003 schwab@suse.de - Update to strace 4.5. * Tue Aug 5 2003 ro@suse.de - fix compile with new quota include header * Wed Jun 11 2003 schwab@suse.de - Update to strace 4.4.98. * Sat May 10 2003 schwab@suse.de - Fix modify_ldt_ldt_s -> user_desc. * Fri May 9 2003 schwab@suse.de - Fix building with new kernel headers. * Wed Apr 2 2003 schwab@suse.de - Update to 4.4.94. * Mon Jan 20 2003 schwab@suse.de - Update to 4.4.92. * Mon Nov 18 2002 ro@suse.de - fix build with latest autoconf * Thu Nov 7 2002 schwab@suse.de - Fix ia64 aio syscalls. * Tue Nov 5 2002 schwab@suse.de - Last change extended to s390/s390x. * Wed Oct 23 2002 schwab@suse.de - Basic support for aio syscalls. * Tue Oct 8 2002 froh@suse.de - s390/s390x: add fix for obscure problem in the inner workings of strace, symptom was SIGSEGV on e.g. 'strace getfacl .' (#20447) * Thu Sep 26 2002 schwab@suse.de - Add support for xattr syscalls [#18051]. - Update ia64 patch. * Thu Sep 19 2002 mludvig@suse.cz - fixed old_mmap argument printing on x86-64 * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Thu Sep 12 2002 meissner@suse.de - Added ppc64 support. * Thu Sep 12 2002 uli@suse.de - added x86-64 biarch support by mludvig as reqd. by aj * Mon Aug 12 2002 schwab@suse.de - Add fixes for s390/s390x. * Mon Jun 24 2002 schwab@suse.de - Fix ioctl decoding on ppc. * Tue Apr 23 2002 schwab@suse.de - Fix ipc syscall decoding for architectures not using the ipc dispatcher. * Mon Apr 22 2002 schwab@suse.de - Cleanup x86-64 patch. - Use autoreconf. * Mon Apr 22 2002 sf@suse.de - added support for x86-64 (by ak@suse.de) - added %%{suse_update_config} * Mon Mar 4 2002 schwab@suse.de - Fix displaying of terminal ioctls [#14396]. * Wed Nov 21 2001 schwab@suse.de - Run autoconf to get up-to-date configure script. * Fri Nov 9 2001 schwab@suse.de - Don't use . * Mon Aug 20 2001 schwab@suse.de - Fix configuration for s390. * Mon Aug 20 2001 schwab@suse.de - Update to strace 4.4. * Tue Jul 31 2001 schwab@suse.de - Fix tracing after execve for ia64. * Tue Jun 12 2001 schwab@suse.de - Fix for ppc and sparc. * Fri Jun 8 2001 schwab@suse.de - Update to strace 4.3. * Mon May 14 2001 bk@suse.de - fix long shifts to create long long logs for llseek, pread and pwrite. (for 2147483748[2GB+100], strace logged 18446744071562068068 which is wrong) * Wed Mar 7 2001 schwab@suse.de - Update IA64 patch. * Wed Feb 14 2001 ro@suse.de - include time.h to fix compilation * Thu Jan 4 2001 stepan@suse.de - changed specfile to build cleanly on alphas * Wed Dec 6 2000 schwab@suse.de - Don't include on ia64. - Implement {,f,l}stat on ia64. * Mon Nov 13 2000 ro@suse.de - hacked to compile on 2.4 includes * Mon Sep 25 2000 ro@suse.de - fixed dirent64 clash for all archs * Mon Sep 18 2000 schwab@suse.de - Fix clash with struct dirent64. * Wed Sep 6 2000 fober@suse.de - s390: upgrade to current ibm codedrop for s390 * Mon Aug 14 2000 schwab@suse.de - Update ia64 patches. * Tue Jun 20 2000 schwab@suse.de - Update ia64 patches. * Sun Jun 18 2000 ro@suse.de - prevent inclusion of linux/time.h * Thu May 18 2000 schwab@suse.de - Fixed to build with 2.3.99 kernels. * Wed Apr 12 2000 kukuk@suse.de - Fix define for STAT64 * Thu Apr 6 2000 bk@suse.de - s390 team added s390 patch * Tue Mar 28 2000 schwab@suse.de - Add ia64 patches. * Wed Mar 22 2000 kukuk@suse.de - Update to 4.2 - Fixes for SPARC * Tue Jan 18 2000 ro@suse.de - fixed to build with 2.3 kernels - man -> /usr/share/man * Thu Dec 9 1999 schwab@suse.de - Remove obsolete SNDCTL_TMR_* ioctls that mask termios ioctls - Remove obsolete strerror and strsignal changes - Fix #if syntax * Sun Dec 5 1999 kasal@suse.de - upgraded to strace-4.1 * Fri Dec 3 1999 kasal@suse.de - get rid of Makefile.Linux - fixed some headers for sparc & 2.3.x kernel * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Sep 9 1999 uli@suse.de - fixed for PPC * Fri Aug 27 1999 ro@suse.de - adapt to sysctl-changes * Fri Jul 9 1999 ro@suse.de - update to 4.0 using jurix diff * Mon Apr 12 1999 ro@suse.de - update 3.1.0.1 / merge patches * Mon Apr 12 1999 ro@suse.de - fixed for alpha * Tue Mar 30 1999 ro@suse.de - merged path from Stanislav Brabec and Massimiliano Ghilardi * Tue Mar 9 1999 ro@suse.de - back to SYS_vfork * Thu Jan 14 1999 ro@suse.de - changed "ifdef SYS_vfork" to "ifdef __NR_vfork" * Mon Jan 11 1999 ro@suse.de - alpha-patches file.c: comment #if alpha sock.c: include ioctls for alpha term.c: include termio on alpha as well * Mon Nov 16 1998 ro@suse.de - system.c: include sys/mount.h instead of linux/fs.h for glibc * Wed Sep 30 1998 ro@suse.de - if glibc: include sys/reg and linux/ptrace where needed * Fri Jul 24 1998 bs@suse.de - fixed configure for i686. * Tue Feb 17 1998 ro@suse.de - diabled PRCTL in config.h.in (not with 2.0 kernel) * Wed Apr 30 1997 florian@suse.de - add bug-fixes for llseek