Blame SPECS/strace.spec

760e82
%{?scl:%{?scl_package:%scl_package strace}}
760e82
760e82
Summary: Tracks and displays system calls associated with a running process
760e82
Name: %{?scl_prefix}strace
760e82
Version: 5.7
760e82
Release: 3%{?dist}
760e82
# The test suite is GPLv2+, all the rest is LGPLv2.1+.
760e82
License: LGPL-2.1+ and GPL-2.0+
760e82
Group: Development/Debuggers
760e82
URL: https://strace.io
760e82
Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz
760e82
760e82
%define alternatives_cmd %{!?scl:%{_sbindir}}%{?scl:%{_root_sbindir}}/alternatives
760e82
%define alternatives_cmdline %{alternatives_cmd}%{?scl: --altdir %{_sysconfdir}/alternatives --admindir %{_scl_root}/var/lib/alternatives}
760e82
760e82
BuildRequires: libacl-devel, time
760e82
%{?scl:Requires:%scl_runtime}
760e82
760e82
BuildRequires: gcc gzip
760e82
760e82
# Install Bluetooth headers for AF_BLUETOOTH sockets decoding.
760e82
%if 0%{?fedora} >= 18 || 0%{?centos} >= 6 || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1200
760e82
BuildRequires: pkgconfig(bluez)
760e82
%endif
760e82
760e82
BuildRequires: %{?scl_prefix}elfutils-devel, %{?scl_prefix}binutils-devel
760e82
# -ldw requires -lbz2 but devtoolset-10-elfutils-devel does not have
760e82
# such a Require
760e82
BuildRequires: bzip2-devel
760e82
%{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release}
760e82
760e82
# OBS compatibility
760e82
%{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release}
760e82
%define maybe_use_defattr %{?suse_version:%%defattr(-,root,root)}
760e82
760e82
## PID namespace translation support
760e82
## https://bugzilla.redhat.com/1035434
760e82
## https://bugzilla.redhat.com/1725113 https://bugzilla.redhat.com/1790836
760e82
## https://bugzilla.redhat.com/1804334 https://bugzilla.redhat.com/1807458
760e82
# v5.8~62 "print_fields.h: add PRINT_FIELD_LEN macro"
760e82
Patch119: 0119-print_fields.h-add-PRINT_FIELD_LEN-macro.patch
760e82
# v5.8~61 "Move ilog* functions from util.c to defs.h"
760e82
Patch120: 0120-Move-ilog-functions-from-util.c-to-defs.h.patch
760e82
# v5.8~59 "types: skip field lines that start with comments"
760e82
Patch121: 0121-types-skip-field-lines-that-start-with-comments.patch
760e82
# v5.8~54 "tests/inject-nf.test: replace getpid with geteuid"
760e82
Patch122: 0122-tests-inject-nf.test-replace-getpid-with-geteuid.patch
760e82
# v5.8~18 "fcntl: use print_fields.h macros"
760e82
Patch123: 0123-fcntl-use-print_fields.h-macros.patch
760e82
# v5.8~17 "kcmp: fix KCMP_FILE decoding"
760e82
Patch124: 0124-kcmp-fix-KCMP_FILE-decoding.patch
760e82
# v5.8~15 "printsiginfo: fix printing of siginfo_t.si_pid and siginfo_t.si_uid"
760e82
Patch125: 0125-printsiginfo-fix-printing-of-siginfo_t.si_pid-and-si.patch
760e82
# v5.8~14 "Use PRINT_FIELD_UID instead of printuid where appropriate"
760e82
Patch126: 0126-Use-PRINT_FIELD_UID-instead-of-printuid-where-approp.patch
760e82
# v5.8~10 "Consistently print process ids as signed integers"
760e82
Patch127: 0127-Consistently-print-process-ids-as-signed-integers.patch
760e82
# v5.8~9 "Remove tcb parameter of read_int_from_file"
760e82
Patch128: 0128-Remove-tcb-parameter-of-read_int_from_file.patch
760e82
# v5.8~6 "Add "struct tcb *" parameters to various functions"
760e82
Patch129: 0129-Add-struct-tcb-parameters-to-various-functions.patch
760e82
# v5.8~53 "Modify %process class: trace syscalls associated with process lifecycle"
760e82
Patch130: 0130-Modify-process-class-trace-syscalls-associated-with-.patch
760e82
# v5.8~5 "Introduce SYS_FUNC(tkill)"
760e82
Patch131: 0131-Introduce-SYS_FUNC-tkill.patch
760e82
# v5.8~4 "tests: check decoding of tkill syscall"
760e82
Patch132: 0132-tests-check-decoding-of-tkill-syscall.patch
760e82
# v5.8~3 "tests: check decoding of tgkill syscall"
760e82
Patch133: 0133-tests-check-decoding-of-tgkill-syscall.patch
760e82
# v5.8-5-gdea0284 "PID namespace translation support"
760e82
Patch134: 0134-PID-namespace-translation-support.patch
760e82
# v5.8-6-g173257d "Use printpid in decoders"
760e82
Patch135: 0135-Use-printpid-in-decoders.patch
760e82
# v5.8-7-g18c2208 "Use get_proc_pid for /proc paths"
760e82
Patch136: 0136-Use-get_proc_pid-for-proc-paths.patch
760e82
# v5.8-8-g7ecee07 "Implement testing framework for pidns"
760e82
Patch137: 0137-Implement-testing-framework-for-pidns.patch
760e82
# v5.8-9-gf350ce0 "Add tests for PID namespace translation"
760e82
Patch138: 0138-Add-tests-for-PID-namespace-translation.patch
760e82
760e82
## RHEL7-only: headers on some builders do not provide O_TMPFILE
760e82
Patch2000: 2000-strace-provide-O_TMPFILE-fallback-definition.patch
760e82
## RHEL-only: aarch64 brew builders are extremely slow on qual_fault.test
760e82
Patch2001: 2001-limit-qual_fault-scope-on-aarch64.patch
760e82
## RHEL-only: avoid ARRAY_SIZE macro re-definition in libiberty.h
760e82
Patch2003: 2003-undef-ARRAY_SIZE.patch
760e82
760e82
760e82
%description
760e82
The strace program intercepts and records the system calls called and
760e82
received by a running process.  Strace can print a record of each
760e82
system call, its arguments and its return value.  Strace is useful for
760e82
diagnosing problems and debugging, as well as for instructional
760e82
purposes.
760e82
760e82
Install strace if you need a tool to track the system calls made and
760e82
received by a process.
760e82
760e82
%prep
760e82
%setup -q -n strace-%{version}
760e82
760e82
%patch119 -p1
760e82
%patch120 -p1
760e82
%patch121 -p1
760e82
%patch122 -p1
760e82
%patch123 -p1
760e82
%patch124 -p1
760e82
%patch125 -p1
760e82
%patch126 -p1
760e82
%patch127 -p1
760e82
%patch128 -p1
760e82
%patch129 -p1
760e82
%patch130 -p1
760e82
%patch131 -p1
760e82
%patch132 -p1
760e82
%patch133 -p1
760e82
%patch134 -p1
760e82
%patch135 -p1
760e82
%patch136 -p1
760e82
%patch137 -p1
760e82
%patch138 -p1
760e82
%patch2000 -p1
760e82
%patch2001 -p1
760e82
%patch2003 -p1
760e82
760e82
echo -n %version-%release > .tarball-version
760e82
echo -n 2019 > .year
760e82
echo -n 2019-06-13 > .strace.1.in.date
760e82
760e82
%build
760e82
echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION'
760e82
uname -a |head -1
760e82
libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)"
760e82
$libc |head -1
760e82
file -L /bin/sh
760e82
gcc --version |head -1
760e82
ld --version |head -1
760e82
kver="$(printf '%%s\n%%s\n' '#include <linux/version.h>' 'LINUX_VERSION_CODE' | gcc -E -P -)"
760e82
printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256))
760e82
echo 'END OF BUILD ENVIRONMENT INFORMATION'
760e82
760e82
LDFLAGS="$RPM_LD_FLAGS -L%{_libdir} -L%{_libdir}/elfutils"
760e82
export LDLFAGS
760e82
760e82
# -DHAVE_S390_COMPAT_REGS is needed due to lack of v3.10-rc1~201^2~11
760e82
CFLAGS=" $RPM_OPT_FLAGS $LDFLAGS "
760e82
# Removing explicit -m64 as it breaks mpers
760e82
[ "x${CFLAGS#* -m64 }" = "x${CFLAGS}" ] || CFLAGS=$(echo "$CFLAGS" | sed 's/ -m64 / /g')
760e82
export CFLAGS
760e82
760e82
CPPFLAGS=" -I%{_includedir} %{optflags} "
760e82
# Removing explicit -m64 as it breaks mpers
760e82
[ "x${CPPFLAGS#* -m64 }" = "x${CPPFLAGS}" ] || CPPFLAGS=$(echo "$CPPFLAGS" | sed 's/ -m64 / /g')
760e82
export CPPFLAGS
760e82
760e82
CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD
760e82
# ac_cv_member_struct_perf_event_attr_context_switch=no is due to
760e82
# https://bugzilla.redhat.com/show_bug.cgi?id=1404539
760e82
%configure --enable-mpers=check ac_cv_member_struct_perf_event_attr_context_switch=no
760e82
make %{?_smp_mflags}
760e82
760e82
%install
760e82
make DESTDIR=%{buildroot} install
760e82
760e82
# remove unpackaged files from the buildroot
760e82
rm -f %{buildroot}%{_bindir}/strace-graph
760e82
760e82
# some say uncompressed changelog files are too big
760e82
for f in ChangeLog ChangeLog-CVS; do
760e82
	gzip -9n < "$f" > "$f".gz &
760e82
done
760e82
wait
760e82
760e82
%check
760e82
# This is needed since patch does not set x bit to the newly created files
760e82
chmod u+x tests/*.test tests-m32/*.test tests-mx32/*.test
760e82
760e82
%{buildroot}%{_bindir}/strace -V
760e82
760e82
760e82
# Skip tests on s390x el6 kernel, test failures there are covered
760e82
# by the following issues:
760e82
#  * https://bugzilla.redhat.com/show_bug.cgi?id=1220802#c6
760e82
#  * Absence of Linux commit v3.2-rc1~109^2~34
760e82
uname_r="$(uname -r)"
760e82
if [ "x${uname_r#2.6.32}" != "x${uname_r}" ] && \
760e82
   [ "x${uname_r%s390x}" != "x${uname_r}" ]
760e82
then
760e82
	echo "Skipping tests, kernel (${uname_r}) is too broken"
760e82
else
760e82
	# We have to limit concurrent execution of tests as some time-sensitive
760e82
	# tests start to fail if the reported time is way too off
760e82
	# from the expected one.
760e82
	make -j2 -k check VERBOSE=1 V=1 TIMEOUT_DURATION=5400
760e82
	echo 'BEGIN OF TEST SUITE INFORMATION'
760e82
	tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log
760e82
	find tests* -type f -name '*.log' -print0 |
760e82
		xargs -r0 grep -H '^KERNEL BUG:' -- ||:
760e82
	echo 'END OF TEST SUITE INFORMATION'
760e82
fi
760e82
760e82
760e82
%files
760e82
%maybe_use_defattr
760e82
%doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING LGPL-2.1-or-later NEWS README
760e82
%{_bindir}/strace
760e82
%{_bindir}/strace-log-merge
760e82
%{_mandir}/man1/*
760e82
760e82
%changelog
760e82
* Wed Sep 09 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.7-3
760e82
- Add PID namespace translation support (#1804334).
760e82
760e82
* Wed Aug 26 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.7-2
760e82
- Explicitly add BuildRequires: bzip2-devel as -ldw needs -lbz2 (#1870580).
760e82
760e82
* Tue Jul 28 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.7-1
760e82
- Rebase to v5.7; drop upstream patches on top of 5.1 (#1861328).
760e82
760e82
* Mon Jan 27 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-7
760e82
- Do not depend on kernel headers for decoding (#1758201).
760e82
760e82
* Mon Jan 27 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-6
760e82
- Fix expected alignment for IPC tests (#1795273):
760e82
  4377e3a1 "tests: fix expected output for some ipc tests", and
760e82
  a75c7c4b "tests: fix -a argument in ipc_msgbuf-Xraw test".
760e82
760e82
* Mon Jan 27 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-5
760e82
- Fix printing stack traces for early syscalls on process attach (#1790057):
760e82
  69b2c33a "unwind-libdw: fix initialization of libdwfl cache",
760e82
  35e080ae "syscall: do not capture stack trace while the tracee executes
760e82
           strace code", and
760e82
  8e515c74 "tests: add strace-k-p test".
760e82
- Add commit v5.4~97 "xlat: use unsgined type for mount_flags fallback values"
760e82
760e82
* Fri Aug 30 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-4
760e82
- Properly decode struct sockaddr_hci without hci_channel field.
760e82
- Include upstream patches that fix issues reported by covscan:
760e82
  91281fec "v4l2: avoid shifting left a signed number by 31 bit",
760e82
  522ad3a0 "syscall.c: avoid infinite loop in subcalls parsing", and
760e82
  9446038e "kvm: avoid bogus vcpu_info assignment in vcpu_register".
760e82
760e82
* Thu Aug 29 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-3
760e82
- Build with Bluetooth headers.
760e82
- Resolves: #1746885
760e82
760e82
* Thu Aug 29 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-2
760e82
- Copy over changes in tests/ioctl_evdev-success.c (from cdd8206a
760e82
  "tests: test evdev bitset decoding more thoroughly")
760e82
  to tests-m32/ioctl_evdev-success.c and tests-mx32/ioctl_evdev-success.c
760e82
- Resolves: #1746478
760e82
760e82
* Mon Jul 22 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-1
760e82
- Rebase to v5.1; drop upstream patches on top of 4.24.
760e82
- Add upstream commits 7ada13f3 ("evdev: avoid bit vector decoding
760e82
  on non-successful and 0 return codes"), 96194ed7 ("evdev: fix array size
760e82
  calculation in decode_bitset_"), and cdd8206a ("tests: test evdev bitset
760e82
  decoding more thoroughly") as separate patches.
760e82
- Resolves: #1666405.
760e82
760e82
* Tue Jan 15 2019 Eugene Syromiatnikov <esyr@redhat.com> - 4.24-5
760e82
- Fix off-by-one errors in indexed xlat handling.
760e82
- Remove bogus indexed xlat warning.
760e82
- Resolves #1666405.
760e82
760e82
* Wed Sep 12 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.24-4
760e82
- Add current version of the thread handling unfairness fix.
760e82
- Resolves #1610774.
760e82
760e82
* Thu Aug 23 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.24-3
760e82
- Provide a fallback definition for the O_TMPFILE flag.
760e82
- Resolves #1609741.
760e82
760e82
* Tue Aug 14 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.24-2
760e82
- Remove -DHAVE_S390_COMPAT_REGS=1 from CFLAGS.
760e82
760e82
* Tue Aug 14 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.24-1
760e82
- Rebase to v4.24.
760e82
760e82
* Mon Aug 06 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.23-5
760e82
- Provide open mode flags fallback definitions.
760e82
- Resolves #1609741.
760e82
760e82
* Sun Aug 05 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.23-4
760e82
- Enable stack unwinding using DTS version of libelfutils.
760e82
760e82
* Wed Jul 18 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.23-3
760e82
- Add SCL-specific modifications in order to build for DTS 8.0.
760e82
- Resolves #1602841.
760e82
760e82
* Mon Jun 18 2018 Eugene Syromiatnikov <esyr@redhat.com> - 4.23-2
760e82
- Increase test timeout duration.
760e82
760e82
* Thu Jun 14 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.23-1
760e82
- v4.22 -> v4.23.
760e82
- Enabled libdw backend for -k option (#1568647).
760e82
760e82
* Thu Apr 05 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.22-1
760e82
- v4.21 -> v4.22.
760e82
760e82
* Tue Feb 13 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.21-1
760e82
- v4.20 -> v4.21.
760e82
760e82
* Mon Nov 13 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.20-1
760e82
- v4.19 -> v4.20.
760e82
760e82
* Tue Sep 05 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.19-1
760e82
- v4.18 -> v4.19.
760e82
760e82
* Wed Jul 05 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.18-1
760e82
- v4.17 -> v4.18.
760e82
760e82
* Wed May 24 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.17-1
760e82
- v4.16 -> v4.17.
760e82
760e82
* Tue Feb 14 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.16-1
760e82
- v4.15 -> v4.16.
760e82
760e82
* Wed Dec 14 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.15-1
760e82
- v4.14-100-g622af42 -> v4.15.
760e82
760e82
* Wed Nov 16 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.14.0.100.622a-1
760e82
- v4.14 -> v4.14-100-g622af42:
760e82
  + implemented syscall fault injection.
760e82
760e82
* Tue Oct 04 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.14-1
760e82
- v4.13 -> v4.14:
760e82
  + added printing of the mode argument of open and openat syscalls
760e82
    when O_TMPFILE flag is set (#1377846).
760e82
760e82
* Tue Jul 26 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.13-1
760e82
- v4.12 -> v4.13.
760e82
760e82
* Tue May 31 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.12-1
760e82
- v4.11-163-g972018f -> v4.12.
760e82
760e82
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.11.0.163.9720-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
760e82
760e82
* Fri Jan 15 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.11.0.163.9720-1
760e82
- New upstream snapshot v4.11-163-g972018f:
760e82
  + fixed decoding of syscalls unknown to the kernel on s390/s390x (#1298294).
760e82
760e82
* Wed Dec 23 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.11-2
760e82
- Enabled experimental -k option on x86_64 (#1170296).
760e82
760e82
* Mon Dec 21 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.11-1
760e82
- New upstream release:
760e82
  + print nanoseconds along with seconds in stat family syscalls (#1251176).
760e82
760e82
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.10-3
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
760e82
760e82
* Mon May 11 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 4.10-2
760e82
- Backport set of upstream patches to get it buildable on AArch64
760e82
760e82
* Fri Mar 06 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.10-1
760e82
- New upstream release:
760e82
  + enhanced ioctl decoding (#902788).
760e82
760e82
* Mon Nov 03 2014 Lubomir Rintel <lkundrak@v3.sk> - 4.9-3
760e82
- Regenerate ioctl entries with proper kernel headers
760e82
760e82
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
760e82
760e82
* Fri Aug 15 2014 Dmitry V. Levin <ldv@altlinux.org> - 4.9-1
760e82
- New upstream release:
760e82
  + fixed build when <sys/ptrace.h> and <linux/ptrace.h> conflict (#993384);
760e82
  + updated CLOCK_* constants (#1088455);
760e82
  + enabled ppc64le support (#1122323);
760e82
  + fixed attach to a process on ppc64le (#1129569).
760e82
760e82
* Fri Jul 25 2014 Dan Horák <dan[at]danny.cz> - 4.8-5
760e82
- update for ppc64
760e82
760e82
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8-4
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
760e82
760e82
* Fri Dec  6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 4.8-3
760e82
- Fix FTBFS
760e82
760e82
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
760e82
760e82
* Mon Jun 03 2013 Dmitry V. Levin <ldv@altlinux.org> - 4.8-1
760e82
- New upstream release:
760e82
  + fixed ERESTARTNOINTR leaking to userspace on ancient kernels (#659382);
760e82
  + fixed decoding of *xattr syscalls (#885233);
760e82
  + fixed handling of files with 64-bit inode numbers by 32-bit strace (#912790);
760e82
  + added aarch64 support (#969858).
760e82
760e82
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-3
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
760e82
760e82
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
760e82
760e82
* Wed May 02 2012 Dmitry V. Levin <ldv@altlinux.org> 4.7-1
760e82
- New upstream release.
760e82
  + implemented proper handling of real SIGTRAPs (#162774).
760e82
760e82
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
760e82
760e82
* Mon Mar 14 2011 Dmitry V. Levin <ldv@altlinux.org> - 4.6-1
760e82
- New upstream release.
760e82
  + fixed a corner case in waitpid handling (#663547).
760e82
760e82
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.20-2
760e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
760e82
760e82
* Tue Apr 13 2010 Roland McGrath <roland@redhat.com> - 4.5.20-1
760e82
- New upstream release, work mostly by Andreas Schwab and Dmitry V. Levin.
760e82
  + fixed potential stack buffer overflow in select decoder (#556678);
760e82
  + fixed FTBFS (#539044).
760e82
760e82
* Wed Oct 21 2009 Roland McGrath <roland@redhat.com> - 4.5.19-1
760e82
- New upstream release, work mostly by Dmitry V. Levin <ldv@altlinux.org>
760e82
  + exit/kill strace with traced process exitcode/signal (#105371);
760e82
  + fixed build on ARM EABI (#507576);
760e82
  + fixed display of 32-bit argv array on 64-bit architectures (#519480);
760e82
  + fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures (#471169);
760e82
  + fixed several bugs in strings decoder, including potential heap
760e82
    memory corruption (#470529, #478324, #511035).
760e82
760e82
* Thu Aug 28 2008 Roland McGrath <roland@redhat.com> - 4.5.18-1
760e82
- build fix for newer kernel headers (#457291)
760e82
- fix CLONE_VFORK handling (#455078)
760e82
- Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
760e82
- In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
760e82
760e82
* Mon Jul 21 2008 Roland McGrath <roland@redhat.com> - 4.5.17-1
760e82
- handle O_CLOEXEC, MSG_CMSG_CLOEXEC (#365781)
760e82
- fix biarch stat64 decoding (#222275)
760e82
- fix spurious "..." in printing of environment strings (#358241)
760e82
- improve prctl decoding (#364401)
760e82
- fix hang wait on exited child with exited child (#354261)
760e82
- fix biarch fork/vfork (-f) tracing (#447475)
760e82
- fix biarch printing of negative argument kill (#430585)
760e82
- fix biarch decoding of error return values (#447587)
760e82
- fix -f tracing of CLONE_VFORK (#455078)
760e82
- fix ia64 register clobberation in -f tracing (#453438)
760e82
- print SO_NODEFER, SA_RESETHAND instead of SA_NOMASK, SA_ONESHOT (#455821)
760e82
- fix futex argument decoding (#448628, #448629)
760e82
760e82
* Fri Aug  3 2007 Roland McGrath <roland@redhat.com> - 4.5.16-1
760e82
- fix multithread issues (#240962, #240961, #247907)
760e82
- fix spurious SIGSTOP on early interrupt (#240986)
760e82
- fix utime for biarch (#247185)
760e82
- fix -u error message (#247170)
760e82
- better futex syscall printing (##241467)
760e82
- fix argv/envp printing with small -s settings, and for biarch
760e82
- new syscalls: getcpu, eventfd, timerfd, signalfd, epoll_pwait,
760e82
  move_pages, utimensat
760e82
760e82
* Tue Jan 16 2007 Roland McGrath <roland@redhat.com> - 4.5.15-1
760e82
- biarch fixes (#179740, #192193, #171626, #173050, #218433, #218043)
760e82
- fix -ff -o behavior (#204950, #218435, #193808, #219423)
760e82
- better quotactl printing (#118696)
760e82
- *at, inotify*, pselect6, ppoll and unshare syscalls (#178633, #191275)
760e82
- glibc-2.5 build fixes (#209856)
760e82
- memory corruption fixes (#200621
760e82
- fix race in child setup under -f (#180293)
760e82
- show ipc key values in hex (#198179, #192182)
760e82
- disallow -c with -ff (#187847)
760e82
- Resolves: RHBZ #179740, RHBZ #192193, RHBZ #204950, RHBZ #218435
760e82
- Resolves: RHBZ #193808, RHBZ #219423, RHBZ #171626, RHBZ #173050
760e82
- Resolves: RHBZ #218433, RHBZ #218043, RHBZ #118696, RHBZ #178633
760e82
- Resolves: RHBZ #191275, RHBZ #209856, RHBZ #200621, RHBZ #180293
760e82
- Resolves: RHBZ #198179, RHBZ #198182, RHBZ #187847
760e82
760e82
* Mon Nov 20 2006 Jakub Jelinek <jakub@redhat.com> - 4.5.14-4
760e82
- Fix ia64 syscall decoding (#206768)
760e82
- Fix build with glibc-2.4.90-33 and up on all arches but ia64
760e82
- Fix build against 2.6.18+ headers
760e82
760e82
* Tue Aug 22 2006 Roland McGrath <roland@redhat.com> - 4.5.14-3
760e82
- Fix bogus decoding of syscalls >= 300 (#201462, #202620).
760e82
760e82
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-2
760e82
- rebuild
760e82
760e82
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-1.2
760e82
- bump again for long double bug on ppc{,64}
760e82
760e82
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-1.1
760e82
- rebuilt for new gcc4.1 snapshot and glibc changes
760e82
760e82
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 4.5.14-1
760e82
- Fix biarch decoding of socket syscalls (#174354).
760e82
- Fix biarch -e support (#173986).
760e82
- Accept numeric syscalls in -e (#174798).
760e82
- Fix ipc syscall decoding (#164755).
760e82
- Improve msgrcv printing (#164757).
760e82
- Man page updates (#165375).
760e82
- Improve mount syscall printing (#165377).
760e82
- Correct printing of restarting syscalls (#165469).
760e82
760e82
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 4.5.13-1
760e82
- Fix setsockopt decoding on 64-bit (#162449).
760e82
- Fix typos in socket option name strings (#161578).
760e82
- Display more IPV6 socket options by name (#162450).
760e82
- Don't display inappropriate syscalls for -e trace=file (#159340).
760e82
- New selector type -e trace=desc for file-descriptor using calls (#159400).
760e82
- Fix 32-bit old_mmap syscall decoding on x86-64 (#162467, #164215).
760e82
- Fix errors detaching from multithreaded process on interrupt (#161919).
760e82
- Note 4.5.12 fix for crash handling bad signal numbers (#162739).
760e82
760e82
* Wed Jun  8 2005 Roland McGrath <roland@redhat.com> - 4.5.12-1
760e82
- Fix known syscall recognition for IA32 processes on x86-64 (#158934).
760e82
- Fix bad output for ptrace on x86-64 (#159787).
760e82
- Fix potential buffer overruns (#151570, #159196).
760e82
- Make some diagnostics more consistent (#159308).
760e82
- Update PowerPC system calls.
760e82
- Better printing for Linux aio system calls.
760e82
- Don't truncate statfs64 fields to 32 bits in output (#158243).
760e82
- Cosmetic code cleanups (#159688).
760e82
760e82
* Tue Mar 22 2005 Roland McGrath <roland@redhat.com> - 4.5.11-1
760e82
- Build tweaks.
760e82
- Note 4.5.10 select fix (#151570).
760e82
760e82
* Mon Mar 14 2005 Roland McGrath <roland@redhat.com> - 4.5.10-1
760e82
- Fix select handling on nonstandard fd_set sizes.
760e82
- Don't print errors for null file name pointers.
760e82
- Fix initial execve output with -i (#143365).
760e82
760e82
* Fri Feb  4 2005 Roland McGrath <roland@redhat.com> - 4.5.9-2
760e82
- update ia64 syscall list (#146245)
760e82
- fix x86_64 syscall argument extraction for 32-bit processes (#146093)
760e82
- fix -e signal=NAME parsing (#143362)
760e82
- fix x86_64 exit_group syscall handling
760e82
- improve socket ioctl printing (#138223)
760e82
- code cleanups (#143369, #143370)
760e82
- improve mount flags printing (#141932)
760e82
- support symbolic printing of x86_64 arch_prctl parameters (#142667)
760e82
- fix potential crash in getxattr printing
760e82
760e82
* Tue Oct 19 2004 Roland McGrath <roland@redhat.com> - 4.5.8-1
760e82
- fix multithreaded exit handling (#132150, #135254)
760e82
- fix ioctl name matching (#129808)
760e82
- print RTC_* ioctl structure contents (#58606)
760e82
- grok epoll_* syscalls (#134463)
760e82
- grok new RLIMIT_* values (#133594)
760e82
- print struct cmsghdr contents for sendmsg (#131689)
760e82
- fix clock_* and timer_* argument output (#131420)
760e82
760e82
* Tue Aug 31 2004 Roland McGrath <roland@redhat.com> - 4.5.7-2
760e82
- new upstream version, misc fixes and updates (#128091, #129166, #128391, #129378, #130965, #131177)
760e82
760e82
* Mon Jul 12 2004 Roland McGrath <roland@redhat.com> 4.5.6-1
760e82
- new upstream version, updates ioctl lists (#127398), fixes quotactl (#127393), more ioctl decoding (#126917)
760e82
760e82
* Sun Jun 27 2004 Roland McGrath <roland@redhat.com> 4.5.5-1
760e82
- new upstream version, fixes x86-64 biarch support (#126547)
760e82
760e82
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 4.5.4-2
760e82
- rebuilt
760e82
760e82
* Thu Jun  3 2004 Roland McGrath <roland@redhat.com> 4.5.4-0.FC1
760e82
- rebuilt for FC1 update
760e82
760e82
* Thu Jun  3 2004 Roland McGrath <roland@redhat.com> 4.5.4-1
760e82
- new upstream version, more ioctls (#122257), minor fixes
760e82
760e82
* Fri Apr 16 2004 Roland McGrath <roland@redhat.com> 4.5.3-1
760e82
- new upstream version, mq_* calls (#120701), -p vs NPTL (#120462), more fixes (#118694, #120541, #118685)
760e82
760e82
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 4.5.2-1.1
760e82
- rebuilt
760e82
760e82
* Mon Mar  1 2004 Roland McGrath <roland@redhat.com> 4.5.2-1
760e82
- new upstream version, sched_* calls (#116990), show core flag (#112117)
760e82
760e82
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
760e82
- rebuilt
760e82
760e82
* Thu Nov 13 2003 Roland McGrath <roland@redhat.com> 4.5.1-1
760e82
- new upstream version, more fixes (#108012, #105366, #105359, #105358)
760e82
760e82
* Tue Sep 30 2003 Roland McGrath <roland@redhat.com> 4.5-3
760e82
- revert bogus s390 fix
760e82
760e82
* Thu Sep 25 2003 Roland McGrath <roland@redhat.com> 4.5-1.2.1AS
760e82
- rebuilt for 2.1AS erratum
760e82
760e82
* Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 4.5-2
760e82
- rebuilt
760e82
760e82
* Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 4.5-1
760e82
- new upstream version, more fixes (#101499, #104365)
760e82
760e82
* Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-2
760e82
- rebuilt
760e82
760e82
* Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-1
760e82
- new upstream version, groks more new system calls, PF_INET6 sockets
760e82
760e82
* Tue Jun 10 2003 Roland McGrath <roland@redhat.com> 4.4.98-1
760e82
- new upstream version, more fixes (#90754, #91085)
760e82
760e82
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
760e82
- rebuilt
760e82
760e82
* Sun Mar 30 2003 Roland McGrath <roland@redhat.com> 4.4.96-1
760e82
- new upstream version, handles yet more 2.5 syscalls, x86_64 & ia64 fixes
760e82
760e82
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 4.4.95-2
760e82
- rebuilt
760e82
760e82
* Mon Feb 24 2003 Roland McGrath <roland@redhat.com> 4.4.95-1
760e82
- new upstream version, fixed getresuid/getresgid (#84959)
760e82
760e82
* Wed Feb 19 2003 Roland McGrath <roland@redhat.com> 4.4.94-1
760e82
- new upstream version, new option -E to set environment variables (#82392)
760e82
760e82
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 4.4.93-2
760e82
- rebuilt
760e82
760e82
* Tue Jan 21 2003 Roland McGrath <roland@redhat.com> 4.4.93-1
760e82
- new upstream version, fixes ppc and s390 bugs, adds missing ptrace requests
760e82
760e82
* Fri Jan 10 2003 Roland McGrath <roland@redhat.com> 4.4.91-1
760e82
- new upstream version, fixes -f on x86-64
760e82
760e82
* Fri Jan 10 2003 Roland McGrath <roland@redhat.com> 4.4.90-1
760e82
- new upstream version, fixes all known bugs modulo ia64 and s390 issues
760e82
760e82
* Fri Jan 03 2003 Florian La Roche <Florian.LaRoche@redhat.de> 4.4-11
760e82
- add further s390 patch from IBM
760e82
760e82
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 4.4-10
760e82
- remove unpackaged files from the buildroot
760e82
760e82
* Mon Oct 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.4-9.1
760e82
- Added latest s390(x) patch.
760e82
760e82
* Fri Sep 06 2002 Karsten Hopp <karsten@redhat.de> 4.4-9
760e82
- preliminary x86_64 support with an ugly patch to help
760e82
  debugging. Needs cleanup!
760e82
760e82
* Mon Sep  2 2002 Jakub Jelinek <jakub@redhat.com> 4.4-8
760e82
- newer version of the clone fixing patch (Roland McGrath)
760e82
- aio syscalls for i386/ia64/ppc (Ben LaHaise)
760e82
760e82
* Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 4.4-7
760e82
- fix strace -f (Roland McGrath, #68994)
760e82
- handle ?et_thread_area, SA_RESTORER (Ulrich Drepper)
760e82
760e82
* Fri Jun 21 2002 Jakub Jelinek <jakub@redhat.com> 4.4-6
760e82
- handle futexes, *xattr, sendfile64, etc. (Ulrich Drepper)
760e82
- handle modify_ldt (#66894)
760e82
760e82
* Thu May 23 2002 Tim Powers <timp@redhat.com>
760e82
- automated rebuild
760e82
760e82
* Tue Apr 16 2002 Jakub Jelinek <jakub@redhat.com> 4.4-4
760e82
- fix for the last patch by Jeff Law (#62591)
760e82
760e82
* Mon Mar  4 2002 Preston Brown <pbrown@redhat.com> 4.4-3
760e82
- integrate patch from Jeff Law to eliminate hang tracing threads
760e82
760e82
* Sat Feb 23 2002 Florian La Roche <Florian.LaRoche@redhat.de>
760e82
- minor update from debian tar-ball
760e82
760e82
* Wed Jan 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
760e82
- update to 4.4
760e82
760e82
* Sun Jul 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
760e82
- disable s390 patches, they are already included
760e82
760e82
* Wed Jul 18 2001 Preston Brown <pbrown@redhat.com> 4.3-1
760e82
- new upstream version.  Seems to have integrated most new syscalls
760e82
- tracing threaded programs is now functional.
760e82
760e82
* Mon Jun 11 2001 Than Ngo <than@redhat.com>
760e82
- port s390 patches from IBM
760e82
760e82
* Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
760e82
- modify new syscall patch to allocate enough heap space in setgroups32()
760e82
760e82
* Wed Feb 14 2001 Jakub Jelinek <jakub@redhat.com>
760e82
- #include <time.h> in addition to <sys/time.h>
760e82
760e82
* Fri Jan 26 2001 Karsten Hopp <karsten@redhat.com>
760e82
- clean up conflicting patches. This happened only
760e82
  when building on S390
760e82
760e82
* Fri Jan 19 2001 Bill Nottingham <notting@redhat.com>
760e82
- update to CVS, reintegrate ia64 support
760e82
760e82
* Fri Dec  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
760e82
- Get S/390 support into the normal package
760e82
760e82
* Sat Nov 18 2000 Florian La Roche <Florian.LaRoche@redhat.de>
760e82
- added S/390 patch from IBM, adapting it to not conflict with
760e82
  IA64 patch
760e82
760e82
* Sat Aug 19 2000 Jakub Jelinek <jakub@redhat.com>
760e82
- doh, actually apply the 2.4 syscalls patch
760e82
- make it compile with 2.4.0-test7-pre4+ headers, add
760e82
  getdents64 and fcntl64
760e82
760e82
* Thu Aug  3 2000 Jakub Jelinek <jakub@redhat.com>
760e82
- add a bunch of new 2.4 syscalls (#14036)
760e82
760e82
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
760e82
- automatic rebuild
760e82
- excludearch ia64
760e82
760e82
* Fri Jun  2 2000 Matt Wilson <msw@redhat.com>
760e82
- use buildinstall for FHS
760e82
760e82
* Wed May 24 2000 Jakub Jelinek <jakub@redhat.com>
760e82
- make things compile on sparc
760e82
- fix sigreturn on sparc
760e82
760e82
* Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
760e82
- fix stat64 misdef (#10485)
760e82
760e82
* Tue Mar 21 2000 Michael K. Johnson <johnsonm@redhat.com>
760e82
- added ia64 patch
760e82
760e82
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
760e82
- man pages are compressed
760e82
- version 4.2 (why are we keeping all these patches around?)
760e82
760e82
* Sat Nov 27 1999 Jeff Johnson <jbj@redhat.com>
760e82
- update to 4.1 (with sparc socketcall patch).
760e82
760e82
* Fri Nov 12 1999 Jakub Jelinek <jakub@redhat.com>
760e82
- fix socketcall on sparc.
760e82
760e82
* Thu Sep 02 1999 Cristian Gafton <gafton@redhat.com>
760e82
- fix KERN_SECURELVL compile problem
760e82
760e82
* Tue Aug 31 1999 Cristian Gafton <gafton@redhat.com>
760e82
- added alpha patch from HJLu to fix the osf_sigprocmask interpretation
760e82
760e82
* Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
760e82
- update to 3.99.1.
760e82
760e82
* Wed Jun  2 1999 Jeff Johnson <jbj@redhat.com>
760e82
- add (the other :-) jj's sparc patch.
760e82
760e82
* Wed May 26 1999 Jeff Johnson <jbj@redhat.com>
760e82
- upgrade to 3.99 in order to
760e82
-    add new 2.2.x open flags (#2955).
760e82
-    add new 2.2.x syscalls (#2866).
760e82
- strace 3.1 patches carried along for now.
760e82
760e82
* Sun May 16 1999 Jeff Johnson <jbj@redhat.com>
760e82
- don't rely on (broken!) rpm %%patch (#2735)
760e82
760e82
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
760e82
- strip binary
760e82
760e82
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
760e82
- auto rebuild in the new build environment (release 16)
760e82
760e82
* Tue Feb  9 1999 Jeff Johnson <jbj@redhat.com>
760e82
- vfork est arrive!
760e82
760e82
* Tue Feb  9 1999 Christopher Blizzard <blizzard@redhat.com>
760e82
- Add patch to follow clone() syscalls, too.
760e82
760e82
* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
760e82
- patch to build alpha/sparc with glibc 2.1.
760e82
760e82
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
760e82
- patch to build on ARM
760e82
760e82
* Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
760e82
- fix typo (printf, not tprintf).
760e82
760e82
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
760e82
- fix compile problem on sparc.
760e82
760e82
* Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
760e82
- buildroot
760e82
760e82
* Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
760e82
- added the umoven patch from James Youngman <jay@gnu.org>
760e82
- fixed build problems on newer glibc releases
760e82
760e82
* Mon Jun 08 1998 Prospector System <bugs@redhat.com>
760e82
- translations modified for de, fr, tr