Blame SPECS/strace.spec

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