Blame SPECS/strace.spec

0e3ee4
%define __python /opt/rh/gcc-toolset-9/root/usr/bin/python3
0e3ee4
%{?scl:%{?scl_package:%scl_package strace}}
0e3ee4
0e3ee4
Summary: Tracks and displays system calls associated with a running process
0e3ee4
Name: %{?scl_prefix}strace
0e3ee4
Version: 5.13
742536
Release: 7%{?dist}
0e3ee4
# The test suite is GPLv2+, all the rest is LGPLv2.1+.
0e3ee4
License: LGPL-2.1+ and GPL-2.0+
0e3ee4
Group: Development/Debuggers
0e3ee4
URL: https://strace.io
0e3ee4
Source: https://strace.io/files/%{version}/strace-%{version}.tar.xz
0e3ee4
0e3ee4
%define alternatives_cmd %{!?scl:%{_sbindir}}%{?scl:%{_root_sbindir}}/alternatives
0e3ee4
%define alternatives_cmdline %{alternatives_cmd}%{?scl: --altdir %{_sysconfdir}/alternatives --admindir %{_scl_root}/var/lib/alternatives}
0e3ee4
0e3ee4
BuildRequires: libacl-devel, time
0e3ee4
%{?scl:Requires:%scl_runtime}
0e3ee4
0e3ee4
BuildRequires: gcc gzip make
0e3ee4
0e3ee4
# Install Bluetooth headers for AF_BLUETOOTH sockets decoding.
0e3ee4
%if 0%{?fedora} >= 18 || 0%{?centos} >= 8 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1200
0e3ee4
BuildRequires: pkgconfig(bluez)
0e3ee4
%endif
0e3ee4
0e3ee4
BuildRequires: %{?scl_prefix}elfutils-devel, %{?scl_prefix}binutils-devel
0e3ee4
BuildRequires: libselinux-devel
0e3ee4
%{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release}
0e3ee4
0e3ee4
# OBS compatibility
0e3ee4
%{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release}
0e3ee4
%define maybe_use_defattr %{?suse_version:%%defattr(-,root,root)}
0e3ee4
0e3ee4
# v5.13-55-g6b2191f "filter_qualify: free allocated data on the error path exit of parse_poke_token"
0e3ee4
Patch150: 0150-filter_qualify-free-allocated-data-on-the-error-path.patch
0e3ee4
# v5.13-56-g80dc60c "macros: expand BIT macros, add MASK macros; add *_SAFE macros"
0e3ee4
Patch151: 0151-macros-expand-BIT-macros-add-MASK-macros-add-_SAFE-m.patch
0e3ee4
# v5.13-58-g94ae5c2 "trie: use BIT* and MASK* macros"
0e3ee4
Patch152: 0152-trie-use-BIT-and-MASK-macros.patch
0e3ee4
# v5.13-65-g41b753e "tee: rewrite num_params access in tee_fetch_buf_data"
0e3ee4
Patch153: 0153-tee-rewrite-num_params-access-in-tee_fetch_buf_data.patch
0e3ee4
742536
# v5.15~1 "print_ifindex: fix IFNAME_QUOTED_SZ definition"
742536
Patch167: 0167-print_ifindex-fix-IFNAME_QUOTED_SZ-definition.patch
742536
742536
# v5.15~18 "m4: fix st_SELINUX check"
742536
Patch168: 0168-m4-fix-st_SELINUX-check.patch
742536
# v5.16~31 "Implement displaying of expected context upon mismatch"
742536
Patch169: 0169-Implement-displaying-of-expected-context-upon-mismat.patch
742536
Patch170: 0170-tests-linkat-reset-errno-before-SELinux-context-mani.patch
742536
Patch171: 0171-tests-secontext-add-secontext-field-getters.patch
742536
Patch172: 0172-tests-linkat-provide-fallback-values-for-secontext-f.patch
742536
Patch173: 0173-tests-secontext-eliminate-separate-secontext_format-.patch
742536
Patch174: 0174-tests-linkat-reset-context-to-the-expected-one-if-a-.patch
742536
0e3ee4
## RHEL-only: aarch64 brew builders are extremely slow on qual_fault.test
0e3ee4
Patch2001: 2001-limit-qual_fault-scope-on-aarch64.patch
0e3ee4
## RHEL-only: avoid ARRAY_SIZE macro re-definition in libiberty.h
0e3ee4
Patch2003: 2003-undef-ARRAY_SIZE.patch
0e3ee4
## RHEL-only: glibc-2.32.9000-147-ga16d2abd496bd974a882,
0e3ee4
## glibc-2.32.9000-149-gbe9b0b9a012780a403a2 and
0e3ee4
## glibc-2.32.9000-207-g9ebaabeaac1a96b0d91f have been backported in RHEL.
0e3ee4
Patch2004: 2004-glibc-msgctl-semctl-shmctl-backport-workaround.patch
0e3ee4
0e3ee4
# Fallback definitions for make_build/make_install macros
0e3ee4
%{?!__make:       %global __make %_bindir/make}
0e3ee4
%{?!__install:    %global __install %_bindir/install}
0e3ee4
%{?!make_build:   %global make_build %__make %{?_smp_mflags}}
0e3ee4
%{?!make_install: %global make_install %__make install DESTDIR="%{?buildroot}" INSTALL="%__install -p"}
0e3ee4
0e3ee4
%description
0e3ee4
The strace program intercepts and records the system calls called and
0e3ee4
received by a running process.  Strace can print a record of each
0e3ee4
system call, its arguments and its return value.  Strace is useful for
0e3ee4
diagnosing problems and debugging, as well as for instructional
0e3ee4
purposes.
0e3ee4
0e3ee4
Install strace if you need a tool to track the system calls made and
0e3ee4
received by a process.
0e3ee4
0e3ee4
%prep
0e3ee4
%setup -q -n strace-%{version}
0e3ee4
0e3ee4
%patch150 -p1
0e3ee4
%patch151 -p1
0e3ee4
%patch152 -p1
0e3ee4
%patch153 -p1
0e3ee4
742536
%patch167 -p1
742536
742536
%patch168 -p1
742536
%patch169 -p1
742536
%patch170 -p1
742536
%patch171 -p1
742536
%patch172 -p1
742536
%patch173 -p1
742536
%patch174 -p1
742536
0e3ee4
%patch2001 -p1
0e3ee4
%patch2003 -p1
0e3ee4
%patch2004 -p1
0e3ee4
0e3ee4
chmod a+x tests/*.test
0e3ee4
0e3ee4
echo -n %version-%release > .tarball-version
0e3ee4
echo -n 2020 > .year
0e3ee4
echo -n 2021-05-14 > doc/.strace.1.in.date
0e3ee4
0e3ee4
%build
0e3ee4
echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION'
0e3ee4
uname -a |head -1
0e3ee4
libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(/[^ ]*/libc\.so[^ ]*\).*|\1|p' |head -1)"
0e3ee4
$libc |head -1
0e3ee4
file -L /bin/sh
0e3ee4
gcc --version |head -1
0e3ee4
ld --version |head -1
0e3ee4
kver="$(printf '%%s\n%%s\n' '#include <linux/version.h>' 'LINUX_VERSION_CODE' | gcc -E -P -)"
0e3ee4
printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256))
0e3ee4
echo 'END OF BUILD ENVIRONMENT INFORMATION'
0e3ee4
0e3ee4
LDFLAGS="$RPM_LD_FLAGS -L%{_libdir} -L%{_libdir}/elfutils"
0e3ee4
export LDLFAGS
0e3ee4
0e3ee4
# -DHAVE_S390_COMPAT_REGS is needed due to lack of v3.10-rc1~201^2~11
0e3ee4
CFLAGS="$RPM_OPT_FLAGS $LDFLAGS"
0e3ee4
# Removing explicit -m64 as it breaks mpers
0e3ee4
[ "x${CFLAGS#*-m64}" = "x${CFLAGS}" ] || CFLAGS=$(echo "$CFLAGS" | sed 's/-m64//g')
0e3ee4
export CFLAGS
0e3ee4
0e3ee4
CPPFLAGS="-isystem %{_includedir} %{optflags}"
0e3ee4
# Removing explicit -m64 as it breaks mpers
0e3ee4
[ "x${CPPFLAGS#*-m64}" = "x${CPPFLAGS}" ] || CPPFLAGS=$(echo "$CPPFLAGS" | sed 's/-m64//g')
0e3ee4
export CPPFLAGS
0e3ee4
0e3ee4
CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD
0e3ee4
%configure --enable-mpers=check --with-libdw
0e3ee4
%make_build
0e3ee4
0e3ee4
%install
0e3ee4
%make_install
0e3ee4
0e3ee4
# some say uncompressed changelog files are too big
0e3ee4
for f in ChangeLog ChangeLog-CVS; do
0e3ee4
	gzip -9n < "$f" > "$f".gz &
0e3ee4
done
0e3ee4
wait
0e3ee4
0e3ee4
%check
0e3ee4
%{buildroot}%{_bindir}/strace -V
0e3ee4
0e3ee4
%make_build -j2 -k check VERBOSE=1 TIMEOUT_DURATION=5400
0e3ee4
echo 'BEGIN OF TEST SUITE INFORMATION'
0e3ee4
tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log
0e3ee4
find tests* -type f -name '*.log' -print0 |
0e3ee4
	xargs -r0 grep -H '^KERNEL BUG:' -- ||:
0e3ee4
echo 'END OF TEST SUITE INFORMATION'
0e3ee4
0e3ee4
%files
0e3ee4
%maybe_use_defattr
0e3ee4
%doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING LGPL-2.1-or-later NEWS README
0e3ee4
%{_bindir}/strace
0e3ee4
%{_bindir}/strace-log-merge
0e3ee4
%{_mandir}/man1/*
0e3ee4
0e3ee4
%changelog
742536
* Mon Feb 07 2022 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-7
742536
- Update tests-m32 and tests-mx32 with --secontext=mismatch option support
742536
  changes (#2046265).
742536
742536
* Wed Jan 19 2022 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-6
742536
- Add --secontext=mismatch option support (#2038992).
742536
742536
* Wed Jan 05 2022 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-5
742536
- Fix incorrect ifname printing buffer size (#2028163).
742536
0e3ee4
* Tue Aug 24 2021 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-4
0e3ee4
- Work around unknown msgctl/semctl/shmctl cmd check issue in tests-m32
0e3ee4
  and tests-mx32 as well (#1997082).
0e3ee4
0e3ee4
* Mon Aug 23 2021 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-3
0e3ee4
- Address some issues reported by covscan (#1995509).
0e3ee4
0e3ee4
* Tue Jul 20 2021 Eugene Syromiatnikov <esyr@redhat.com> - 5.13-1
0e3ee4
- Rebase to v5.13.
0e3ee4
0e3ee4
* Fri May 14 2021 Eugene Syromiatnikov <esyr@redhat.com> - 5.12-1
0e3ee4
- Rebase to v5.12; drop upstream patches on top of 5.7 (#1958326).
0e3ee4
0e3ee4
* Mon Nov 09 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.7-2
0e3ee4
- Add PID namespace translation support (#1790836).
0e3ee4
0e3ee4
* Tue Jun 02 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.7-1
0e3ee4
- Rebase to v5.7; drop upstream patches on top of 5.1 (#1817210).
0e3ee4
0e3ee4
* Mon Jan 27 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-6
0e3ee4
- Fix expected alignment for IPC tests (#1794490):
0e3ee4
  4377e3a1 "tests: fix expected output for some ipc tests", and
0e3ee4
  a75c7c4b "tests: fix -a argument in ipc_msgbuf-Xraw test".
0e3ee4
0e3ee4
* Thu Jan 23 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-5
0e3ee4
- Fix printing stack traces for early syscalls on process attach (#1790054):
0e3ee4
  69b2c33a "unwind-libdw: fix initialization of libdwfl cache",
0e3ee4
  35e080ae "syscall: do not capture stack trace while the tracee executes
0e3ee4
           strace code", and
0e3ee4
  8e515c74 "tests: add strace-k-p test".
0e3ee4
- Properly decode struct sockaddr_hci without hci_channel field.
0e3ee4
0e3ee4
* Fri Jan 03 2020 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-4
0e3ee4
- Pull upstream fix for ioctl evdev bitset decoding, fix the tests (#1747213).
0e3ee4
- Include upstream patches that fix issues reported by covscan (#1747530):
0e3ee4
  91281fec "v4l2: avoid shifting left a signed number by 31 bit",
0e3ee4
  522ad3a0 "syscall.c: avoid infinite loop in subcalls parsing",
0e3ee4
  9446038e "kvm: avoid bogus vcpu_info assignment in vcpu_register", and
0e3ee4
  2b64854e "xlat: use unsgined type for mount_flags fallback values".
0e3ee4
0e3ee4
* Fri Jun 14 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-3
0e3ee4
- Use SPDX abbreviations for licenses.
0e3ee4
- Add library directories to existing LDFLAGS and not override them.
0e3ee4
0e3ee4
* Thu Jun 13 2019 Eugene Syromiatnikov <esyr@redhat.com> - 5.1-2
0e3ee4
- Add SCL macros (#1685491).
0e3ee4
0e3ee4
* Wed May 22 2019 Dmitry V. Levin <ldv@altlinux.org> - 5.1-1
0e3ee4
- v5.0 -> v5.1.
0e3ee4
0e3ee4
* Tue Mar 19 2019 Dmitry V. Levin <ldv@altlinux.org> - 5.0-1
0e3ee4
- v4.26 -> v5.0 (resolves: #478419, #526740, #851457, #1609318,
0e3ee4
  #1610774, #1662936, #1676045).
0e3ee4
0e3ee4
* Wed Dec 26 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.26-1
0e3ee4
- v4.25 -> v4.26.
0e3ee4
0e3ee4
* Tue Oct 30 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.25-1
0e3ee4
- v4.24 -> v4.25.
0e3ee4
0e3ee4
* Tue Aug 14 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.24-1
0e3ee4
- v4.23 -> v4.24.
0e3ee4
0e3ee4
* Thu Jun 14 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.23-1
0e3ee4
- v4.22 -> v4.23.
0e3ee4
- Enabled libdw backend for -k option (#1568647).
0e3ee4
0e3ee4
* Thu Apr 05 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.22-1
0e3ee4
- v4.21 -> v4.22.
0e3ee4
0e3ee4
* Tue Feb 13 2018 Dmitry V. Levin <ldv@altlinux.org> - 4.21-1
0e3ee4
- v4.20 -> v4.21.
0e3ee4
0e3ee4
* Mon Nov 13 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.20-1
0e3ee4
- v4.19 -> v4.20.
0e3ee4
0e3ee4
* Tue Sep 05 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.19-1
0e3ee4
- v4.18 -> v4.19.
0e3ee4
0e3ee4
* Wed Jul 05 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.18-1
0e3ee4
- v4.17 -> v4.18.
0e3ee4
0e3ee4
* Wed May 24 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.17-1
0e3ee4
- v4.16 -> v4.17.
0e3ee4
0e3ee4
* Tue Feb 14 2017 Dmitry V. Levin <ldv@altlinux.org> - 4.16-1
0e3ee4
- v4.15 -> v4.16.
0e3ee4
0e3ee4
* Wed Dec 14 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.15-1
0e3ee4
- v4.14-100-g622af42 -> v4.15.
0e3ee4
0e3ee4
* Wed Nov 16 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.14.0.100.622a-1
0e3ee4
- v4.14 -> v4.14-100-g622af42:
0e3ee4
  + implemented syscall fault injection.
0e3ee4
0e3ee4
* Tue Oct 04 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.14-1
0e3ee4
- v4.13 -> v4.14:
0e3ee4
  + added printing of the mode argument of open and openat syscalls
0e3ee4
    when O_TMPFILE flag is set (#1377846).
0e3ee4
0e3ee4
* Tue Jul 26 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.13-1
0e3ee4
- v4.12 -> v4.13.
0e3ee4
0e3ee4
* Tue May 31 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.12-1
0e3ee4
- v4.11-163-g972018f -> v4.12.
0e3ee4
0e3ee4
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.11.0.163.9720-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0e3ee4
0e3ee4
* Fri Jan 15 2016 Dmitry V. Levin <ldv@altlinux.org> - 4.11.0.163.9720-1
0e3ee4
- New upstream snapshot v4.11-163-g972018f:
0e3ee4
  + fixed decoding of syscalls unknown to the kernel on s390/s390x (#1298294).
0e3ee4
0e3ee4
* Wed Dec 23 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.11-2
0e3ee4
- Enabled experimental -k option on x86_64 (#1170296).
0e3ee4
0e3ee4
* Mon Dec 21 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.11-1
0e3ee4
- New upstream release:
0e3ee4
  + print nanoseconds along with seconds in stat family syscalls (#1251176).
0e3ee4
0e3ee4
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.10-3
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0e3ee4
0e3ee4
* Mon May 11 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 4.10-2
0e3ee4
- Backport set of upstream patches to get it buildable on AArch64
0e3ee4
0e3ee4
* Fri Mar 06 2015 Dmitry V. Levin <ldv@altlinux.org> - 4.10-1
0e3ee4
- New upstream release:
0e3ee4
  + enhanced ioctl decoding (#902788).
0e3ee4
0e3ee4
* Mon Nov 03 2014 Lubomir Rintel <lkundrak@v3.sk> - 4.9-3
0e3ee4
- Regenerate ioctl entries with proper kernel headers
0e3ee4
0e3ee4
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0e3ee4
0e3ee4
* Fri Aug 15 2014 Dmitry V. Levin <ldv@altlinux.org> - 4.9-1
0e3ee4
- New upstream release:
0e3ee4
  + fixed build when <sys/ptrace.h> and <linux/ptrace.h> conflict (#993384);
0e3ee4
  + updated CLOCK_* constants (#1088455);
0e3ee4
  + enabled ppc64le support (#1122323);
0e3ee4
  + fixed attach to a process on ppc64le (#1129569).
0e3ee4
0e3ee4
* Fri Jul 25 2014 Dan Horák <dan[at]danny.cz> - 4.8-5
0e3ee4
- update for ppc64
0e3ee4
0e3ee4
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8-4
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0e3ee4
0e3ee4
* Fri Dec  6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 4.8-3
0e3ee4
- Fix FTBFS
0e3ee4
0e3ee4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0e3ee4
0e3ee4
* Mon Jun 03 2013 Dmitry V. Levin <ldv@altlinux.org> - 4.8-1
0e3ee4
- New upstream release:
0e3ee4
  + fixed ERESTARTNOINTR leaking to userspace on ancient kernels (#659382);
0e3ee4
  + fixed decoding of *xattr syscalls (#885233);
0e3ee4
  + fixed handling of files with 64-bit inode numbers by 32-bit strace (#912790);
0e3ee4
  + added aarch64 support (#969858).
0e3ee4
0e3ee4
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-3
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0e3ee4
0e3ee4
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0e3ee4
0e3ee4
* Wed May 02 2012 Dmitry V. Levin <ldv@altlinux.org> 4.7-1
0e3ee4
- New upstream release.
0e3ee4
  + implemented proper handling of real SIGTRAPs (#162774).
0e3ee4
0e3ee4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0e3ee4
0e3ee4
* Mon Mar 14 2011 Dmitry V. Levin <ldv@altlinux.org> - 4.6-1
0e3ee4
- New upstream release.
0e3ee4
  + fixed a corner case in waitpid handling (#663547).
0e3ee4
0e3ee4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.20-2
0e3ee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e3ee4
0e3ee4
* Tue Apr 13 2010 Roland McGrath <roland@redhat.com> - 4.5.20-1
0e3ee4
- New upstream release, work mostly by Andreas Schwab and Dmitry V. Levin.
0e3ee4
  + fixed potential stack buffer overflow in select decoder (#556678);
0e3ee4
  + fixed FTBFS (#539044).
0e3ee4
0e3ee4
* Wed Oct 21 2009 Roland McGrath <roland@redhat.com> - 4.5.19-1
0e3ee4
- New upstream release, work mostly by Dmitry V. Levin <ldv@altlinux.org>
0e3ee4
  + exit/kill strace with traced process exitcode/signal (#105371);
0e3ee4
  + fixed build on ARM EABI (#507576);
0e3ee4
  + fixed display of 32-bit argv array on 64-bit architectures (#519480);
0e3ee4
  + fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures (#471169);
0e3ee4
  + fixed several bugs in strings decoder, including potential heap
0e3ee4
    memory corruption (#470529, #478324, #511035).
0e3ee4
0e3ee4
* Thu Aug 28 2008 Roland McGrath <roland@redhat.com> - 4.5.18-1
0e3ee4
- build fix for newer kernel headers (#457291)
0e3ee4
- fix CLONE_VFORK handling (#455078)
0e3ee4
- Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
0e3ee4
- In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
0e3ee4
0e3ee4
* Mon Jul 21 2008 Roland McGrath <roland@redhat.com> - 4.5.17-1
0e3ee4
- handle O_CLOEXEC, MSG_CMSG_CLOEXEC (#365781)
0e3ee4
- fix biarch stat64 decoding (#222275)
0e3ee4
- fix spurious "..." in printing of environment strings (#358241)
0e3ee4
- improve prctl decoding (#364401)
0e3ee4
- fix hang wait on exited child with exited child (#354261)
0e3ee4
- fix biarch fork/vfork (-f) tracing (#447475)
0e3ee4
- fix biarch printing of negative argument kill (#430585)
0e3ee4
- fix biarch decoding of error return values (#447587)
0e3ee4
- fix -f tracing of CLONE_VFORK (#455078)
0e3ee4
- fix ia64 register clobberation in -f tracing (#453438)
0e3ee4
- print SO_NODEFER, SA_RESETHAND instead of SA_NOMASK, SA_ONESHOT (#455821)
0e3ee4
- fix futex argument decoding (#448628, #448629)
0e3ee4
0e3ee4
* Fri Aug  3 2007 Roland McGrath <roland@redhat.com> - 4.5.16-1
0e3ee4
- fix multithread issues (#240962, #240961, #247907)
0e3ee4
- fix spurious SIGSTOP on early interrupt (#240986)
0e3ee4
- fix utime for biarch (#247185)
0e3ee4
- fix -u error message (#247170)
0e3ee4
- better futex syscall printing (##241467)
0e3ee4
- fix argv/envp printing with small -s settings, and for biarch
0e3ee4
- new syscalls: getcpu, eventfd, timerfd, signalfd, epoll_pwait,
0e3ee4
  move_pages, utimensat
0e3ee4
0e3ee4
* Tue Jan 16 2007 Roland McGrath <roland@redhat.com> - 4.5.15-1
0e3ee4
- biarch fixes (#179740, #192193, #171626, #173050, #218433, #218043)
0e3ee4
- fix -ff -o behavior (#204950, #218435, #193808, #219423)
0e3ee4
- better quotactl printing (#118696)
0e3ee4
- *at, inotify*, pselect6, ppoll and unshare syscalls (#178633, #191275)
0e3ee4
- glibc-2.5 build fixes (#209856)
0e3ee4
- memory corruption fixes (#200621
0e3ee4
- fix race in child setup under -f (#180293)
0e3ee4
- show ipc key values in hex (#198179, #192182)
0e3ee4
- disallow -c with -ff (#187847)
0e3ee4
- Resolves: RHBZ #179740, RHBZ #192193, RHBZ #204950, RHBZ #218435
0e3ee4
- Resolves: RHBZ #193808, RHBZ #219423, RHBZ #171626, RHBZ #173050
0e3ee4
- Resolves: RHBZ #218433, RHBZ #218043, RHBZ #118696, RHBZ #178633
0e3ee4
- Resolves: RHBZ #191275, RHBZ #209856, RHBZ #200621, RHBZ #180293
0e3ee4
- Resolves: RHBZ #198179, RHBZ #198182, RHBZ #187847
0e3ee4
0e3ee4
* Mon Nov 20 2006 Jakub Jelinek <jakub@redhat.com> - 4.5.14-4
0e3ee4
- Fix ia64 syscall decoding (#206768)
0e3ee4
- Fix build with glibc-2.4.90-33 and up on all arches but ia64
0e3ee4
- Fix build against 2.6.18+ headers
0e3ee4
0e3ee4
* Tue Aug 22 2006 Roland McGrath <roland@redhat.com> - 4.5.14-3
0e3ee4
- Fix bogus decoding of syscalls >= 300 (#201462, #202620).
0e3ee4
0e3ee4
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-2
0e3ee4
- rebuild
0e3ee4
0e3ee4
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-1.2
0e3ee4
- bump again for long double bug on ppc{,64}
0e3ee4
0e3ee4
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.5.14-1.1
0e3ee4
- rebuilt for new gcc4.1 snapshot and glibc changes
0e3ee4
0e3ee4
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 4.5.14-1
0e3ee4
- Fix biarch decoding of socket syscalls (#174354).
0e3ee4
- Fix biarch -e support (#173986).
0e3ee4
- Accept numeric syscalls in -e (#174798).
0e3ee4
- Fix ipc syscall decoding (#164755).
0e3ee4
- Improve msgrcv printing (#164757).
0e3ee4
- Man page updates (#165375).
0e3ee4
- Improve mount syscall printing (#165377).
0e3ee4
- Correct printing of restarting syscalls (#165469).
0e3ee4
0e3ee4
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 4.5.13-1
0e3ee4
- Fix setsockopt decoding on 64-bit (#162449).
0e3ee4
- Fix typos in socket option name strings (#161578).
0e3ee4
- Display more IPV6 socket options by name (#162450).
0e3ee4
- Don't display inappropriate syscalls for -e trace=file (#159340).
0e3ee4
- New selector type -e trace=desc for file-descriptor using calls (#159400).
0e3ee4
- Fix 32-bit old_mmap syscall decoding on x86-64 (#162467, #164215).
0e3ee4
- Fix errors detaching from multithreaded process on interrupt (#161919).
0e3ee4
- Note 4.5.12 fix for crash handling bad signal numbers (#162739).
0e3ee4
0e3ee4
* Wed Jun  8 2005 Roland McGrath <roland@redhat.com> - 4.5.12-1
0e3ee4
- Fix known syscall recognition for IA32 processes on x86-64 (#158934).
0e3ee4
- Fix bad output for ptrace on x86-64 (#159787).
0e3ee4
- Fix potential buffer overruns (#151570, #159196).
0e3ee4
- Make some diagnostics more consistent (#159308).
0e3ee4
- Update PowerPC system calls.
0e3ee4
- Better printing for Linux aio system calls.
0e3ee4
- Don't truncate statfs64 fields to 32 bits in output (#158243).
0e3ee4
- Cosmetic code cleanups (#159688).
0e3ee4
0e3ee4
* Tue Mar 22 2005 Roland McGrath <roland@redhat.com> - 4.5.11-1
0e3ee4
- Build tweaks.
0e3ee4
- Note 4.5.10 select fix (#151570).
0e3ee4
0e3ee4
* Mon Mar 14 2005 Roland McGrath <roland@redhat.com> - 4.5.10-1
0e3ee4
- Fix select handling on nonstandard fd_set sizes.
0e3ee4
- Don't print errors for null file name pointers.
0e3ee4
- Fix initial execve output with -i (#143365).
0e3ee4
0e3ee4
* Fri Feb  4 2005 Roland McGrath <roland@redhat.com> - 4.5.9-2
0e3ee4
- update ia64 syscall list (#146245)
0e3ee4
- fix x86_64 syscall argument extraction for 32-bit processes (#146093)
0e3ee4
- fix -e signal=NAME parsing (#143362)
0e3ee4
- fix x86_64 exit_group syscall handling
0e3ee4
- improve socket ioctl printing (#138223)
0e3ee4
- code cleanups (#143369, #143370)
0e3ee4
- improve mount flags printing (#141932)
0e3ee4
- support symbolic printing of x86_64 arch_prctl parameters (#142667)
0e3ee4
- fix potential crash in getxattr printing
0e3ee4
0e3ee4
* Tue Oct 19 2004 Roland McGrath <roland@redhat.com> - 4.5.8-1
0e3ee4
- fix multithreaded exit handling (#132150, #135254)
0e3ee4
- fix ioctl name matching (#129808)
0e3ee4
- print RTC_* ioctl structure contents (#58606)
0e3ee4
- grok epoll_* syscalls (#134463)
0e3ee4
- grok new RLIMIT_* values (#133594)
0e3ee4
- print struct cmsghdr contents for sendmsg (#131689)
0e3ee4
- fix clock_* and timer_* argument output (#131420)
0e3ee4
0e3ee4
* Tue Aug 31 2004 Roland McGrath <roland@redhat.com> - 4.5.7-2
0e3ee4
- new upstream version, misc fixes and updates (#128091, #129166, #128391, #129378, #130965, #131177)
0e3ee4
0e3ee4
* Mon Jul 12 2004 Roland McGrath <roland@redhat.com> 4.5.6-1
0e3ee4
- new upstream version, updates ioctl lists (#127398), fixes quotactl (#127393), more ioctl decoding (#126917)
0e3ee4
0e3ee4
* Sun Jun 27 2004 Roland McGrath <roland@redhat.com> 4.5.5-1
0e3ee4
- new upstream version, fixes x86-64 biarch support (#126547)
0e3ee4
0e3ee4
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 4.5.4-2
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Thu Jun  3 2004 Roland McGrath <roland@redhat.com> 4.5.4-0.FC1
0e3ee4
- rebuilt for FC1 update
0e3ee4
0e3ee4
* Thu Jun  3 2004 Roland McGrath <roland@redhat.com> 4.5.4-1
0e3ee4
- new upstream version, more ioctls (#122257), minor fixes
0e3ee4
0e3ee4
* Fri Apr 16 2004 Roland McGrath <roland@redhat.com> 4.5.3-1
0e3ee4
- new upstream version, mq_* calls (#120701), -p vs NPTL (#120462), more fixes (#118694, #120541, #118685)
0e3ee4
0e3ee4
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 4.5.2-1.1
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Mon Mar  1 2004 Roland McGrath <roland@redhat.com> 4.5.2-1
0e3ee4
- new upstream version, sched_* calls (#116990), show core flag (#112117)
0e3ee4
0e3ee4
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Thu Nov 13 2003 Roland McGrath <roland@redhat.com> 4.5.1-1
0e3ee4
- new upstream version, more fixes (#108012, #105366, #105359, #105358)
0e3ee4
0e3ee4
* Tue Sep 30 2003 Roland McGrath <roland@redhat.com> 4.5-3
0e3ee4
- revert bogus s390 fix
0e3ee4
0e3ee4
* Thu Sep 25 2003 Roland McGrath <roland@redhat.com> 4.5-1.2.1AS
0e3ee4
- rebuilt for 2.1AS erratum
0e3ee4
0e3ee4
* Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 4.5-2
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 4.5-1
0e3ee4
- new upstream version, more fixes (#101499, #104365)
0e3ee4
0e3ee4
* Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-2
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-1
0e3ee4
- new upstream version, groks more new system calls, PF_INET6 sockets
0e3ee4
0e3ee4
* Tue Jun 10 2003 Roland McGrath <roland@redhat.com> 4.4.98-1
0e3ee4
- new upstream version, more fixes (#90754, #91085)
0e3ee4
0e3ee4
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Sun Mar 30 2003 Roland McGrath <roland@redhat.com> 4.4.96-1
0e3ee4
- new upstream version, handles yet more 2.5 syscalls, x86_64 & ia64 fixes
0e3ee4
0e3ee4
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 4.4.95-2
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Mon Feb 24 2003 Roland McGrath <roland@redhat.com> 4.4.95-1
0e3ee4
- new upstream version, fixed getresuid/getresgid (#84959)
0e3ee4
0e3ee4
* Wed Feb 19 2003 Roland McGrath <roland@redhat.com> 4.4.94-1
0e3ee4
- new upstream version, new option -E to set environment variables (#82392)
0e3ee4
0e3ee4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 4.4.93-2
0e3ee4
- rebuilt
0e3ee4
0e3ee4
* Tue Jan 21 2003 Roland McGrath <roland@redhat.com> 4.4.93-1
0e3ee4
- new upstream version, fixes ppc and s390 bugs, adds missing ptrace requests
0e3ee4
0e3ee4
* Fri Jan 10 2003 Roland McGrath <roland@redhat.com> 4.4.91-1
0e3ee4
- new upstream version, fixes -f on x86-64
0e3ee4
0e3ee4
* Fri Jan 10 2003 Roland McGrath <roland@redhat.com> 4.4.90-1
0e3ee4
- new upstream version, fixes all known bugs modulo ia64 and s390 issues
0e3ee4
0e3ee4
* Fri Jan 03 2003 Florian La Roche <Florian.LaRoche@redhat.de> 4.4-11
0e3ee4
- add further s390 patch from IBM
0e3ee4
0e3ee4
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 4.4-10
0e3ee4
- remove unpackaged files from the buildroot
0e3ee4
0e3ee4
* Mon Oct 07 2002 Phil Knirsch <pknirsch@redhat.com> 4.4-9.1
0e3ee4
- Added latest s390(x) patch.
0e3ee4
0e3ee4
* Fri Sep 06 2002 Karsten Hopp <karsten@redhat.de> 4.4-9
0e3ee4
- preliminary x86_64 support with an ugly patch to help
0e3ee4
  debugging. Needs cleanup!
0e3ee4
0e3ee4
* Mon Sep  2 2002 Jakub Jelinek <jakub@redhat.com> 4.4-8
0e3ee4
- newer version of the clone fixing patch (Roland McGrath)
0e3ee4
- aio syscalls for i386/ia64/ppc (Ben LaHaise)
0e3ee4
0e3ee4
* Wed Aug 28 2002 Jakub Jelinek <jakub@redhat.com> 4.4-7
0e3ee4
- fix strace -f (Roland McGrath, #68994)
0e3ee4
- handle ?et_thread_area, SA_RESTORER (Ulrich Drepper)
0e3ee4
0e3ee4
* Fri Jun 21 2002 Jakub Jelinek <jakub@redhat.com> 4.4-6
0e3ee4
- handle futexes, *xattr, sendfile64, etc. (Ulrich Drepper)
0e3ee4
- handle modify_ldt (#66894)
0e3ee4
0e3ee4
* Thu May 23 2002 Tim Powers <timp@redhat.com>
0e3ee4
- automated rebuild
0e3ee4
0e3ee4
* Tue Apr 16 2002 Jakub Jelinek <jakub@redhat.com> 4.4-4
0e3ee4
- fix for the last patch by Jeff Law (#62591)
0e3ee4
0e3ee4
* Mon Mar  4 2002 Preston Brown <pbrown@redhat.com> 4.4-3
0e3ee4
- integrate patch from Jeff Law to eliminate hang tracing threads
0e3ee4
0e3ee4
* Sat Feb 23 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0e3ee4
- minor update from debian tar-ball
0e3ee4
0e3ee4
* Wed Jan 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
0e3ee4
- update to 4.4
0e3ee4
0e3ee4
* Sun Jul 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
0e3ee4
- disable s390 patches, they are already included
0e3ee4
0e3ee4
* Wed Jul 18 2001 Preston Brown <pbrown@redhat.com> 4.3-1
0e3ee4
- new upstream version.  Seems to have integrated most new syscalls
0e3ee4
- tracing threaded programs is now functional.
0e3ee4
0e3ee4
* Mon Jun 11 2001 Than Ngo <than@redhat.com>
0e3ee4
- port s390 patches from IBM
0e3ee4
0e3ee4
* Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
0e3ee4
- modify new syscall patch to allocate enough heap space in setgroups32()
0e3ee4
0e3ee4
* Wed Feb 14 2001 Jakub Jelinek <jakub@redhat.com>
0e3ee4
- #include <time.h> in addition to <sys/time.h>
0e3ee4
0e3ee4
* Fri Jan 26 2001 Karsten Hopp <karsten@redhat.com>
0e3ee4
- clean up conflicting patches. This happened only
0e3ee4
  when building on S390
0e3ee4
0e3ee4
* Fri Jan 19 2001 Bill Nottingham <notting@redhat.com>
0e3ee4
- update to CVS, reintegrate ia64 support
0e3ee4
0e3ee4
* Fri Dec  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
0e3ee4
- Get S/390 support into the normal package
0e3ee4
0e3ee4
* Sat Nov 18 2000 Florian La Roche <Florian.LaRoche@redhat.de>
0e3ee4
- added S/390 patch from IBM, adapting it to not conflict with
0e3ee4
  IA64 patch
0e3ee4
0e3ee4
* Sat Aug 19 2000 Jakub Jelinek <jakub@redhat.com>
0e3ee4
- doh, actually apply the 2.4 syscalls patch
0e3ee4
- make it compile with 2.4.0-test7-pre4+ headers, add
0e3ee4
  getdents64 and fcntl64
0e3ee4
0e3ee4
* Thu Aug  3 2000 Jakub Jelinek <jakub@redhat.com>
0e3ee4
- add a bunch of new 2.4 syscalls (#14036)
0e3ee4
0e3ee4
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
0e3ee4
- automatic rebuild
0e3ee4
- excludearch ia64
0e3ee4
0e3ee4
* Fri Jun  2 2000 Matt Wilson <msw@redhat.com>
0e3ee4
- use buildinstall for FHS
0e3ee4
0e3ee4
* Wed May 24 2000 Jakub Jelinek <jakub@redhat.com>
0e3ee4
- make things compile on sparc
0e3ee4
- fix sigreturn on sparc
0e3ee4
0e3ee4
* Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
0e3ee4
- fix stat64 misdef (#10485)
0e3ee4
0e3ee4
* Tue Mar 21 2000 Michael K. Johnson <johnsonm@redhat.com>
0e3ee4
- added ia64 patch
0e3ee4
0e3ee4
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
0e3ee4
- man pages are compressed
0e3ee4
- version 4.2 (why are we keeping all these patches around?)
0e3ee4
0e3ee4
* Sat Nov 27 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- update to 4.1 (with sparc socketcall patch).
0e3ee4
0e3ee4
* Fri Nov 12 1999 Jakub Jelinek <jakub@redhat.com>
0e3ee4
- fix socketcall on sparc.
0e3ee4
0e3ee4
* Thu Sep 02 1999 Cristian Gafton <gafton@redhat.com>
0e3ee4
- fix KERN_SECURELVL compile problem
0e3ee4
0e3ee4
* Tue Aug 31 1999 Cristian Gafton <gafton@redhat.com>
0e3ee4
- added alpha patch from HJLu to fix the osf_sigprocmask interpretation
0e3ee4
0e3ee4
* Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- update to 3.99.1.
0e3ee4
0e3ee4
* Wed Jun  2 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- add (the other :-) jj's sparc patch.
0e3ee4
0e3ee4
* Wed May 26 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- upgrade to 3.99 in order to
0e3ee4
-    add new 2.2.x open flags (#2955).
0e3ee4
-    add new 2.2.x syscalls (#2866).
0e3ee4
- strace 3.1 patches carried along for now.
0e3ee4
0e3ee4
* Sun May 16 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- don't rely on (broken!) rpm %%patch (#2735)
0e3ee4
0e3ee4
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
0e3ee4
- strip binary
0e3ee4
0e3ee4
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
0e3ee4
- auto rebuild in the new build environment (release 16)
0e3ee4
0e3ee4
* Tue Feb  9 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- vfork est arrive!
0e3ee4
0e3ee4
* Tue Feb  9 1999 Christopher Blizzard <blizzard@redhat.com>
0e3ee4
- Add patch to follow clone() syscalls, too.
0e3ee4
0e3ee4
* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
0e3ee4
- patch to build alpha/sparc with glibc 2.1.
0e3ee4
0e3ee4
* Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
0e3ee4
- patch to build on ARM
0e3ee4
0e3ee4
* Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
0e3ee4
- fix typo (printf, not tprintf).
0e3ee4
0e3ee4
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
0e3ee4
- fix compile problem on sparc.
0e3ee4
0e3ee4
* Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
0e3ee4
- buildroot
0e3ee4
0e3ee4
* Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
0e3ee4
- added the umoven patch from James Youngman <jay@gnu.org>
0e3ee4
- fixed build problems on newer glibc releases
0e3ee4
0e3ee4
* Mon Jun 08 1998 Prospector System <bugs@redhat.com>
0e3ee4
- translations modified for de, fr, tr