OBS User unknown 2008-12-05 14:49:58 +00:00 committed by Git OBS Bridge
parent b094a811d3
commit 73a610e6a9
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,21 @@
--- tapset/ioblock.stp-dist 2008-12-04 18:02:22.000000000 +0100
+++ tapset/ioblock.stp 2008-12-04 18:03:54.000000000 +0100
@@ -122,7 +122,9 @@
vcnt = $bio->bi_vcnt
idx = $bio->bi_idx
phys_segments = $bio->bi_phys_segments
+%(kernel_v < "2.6.27" %?
hw_segments = $bio->bi_hw_segments
+%)
size = $bio->bi_size
bdev = $bio->bi_bdev
@@ -176,6 +178,8 @@
vcnt = $bio->bi_vcnt
idx = $bio->bi_idx
phys_segments = $bio->bi_phys_segments
+%(kernel_v < "2.6.27" %?
hw_segments = $bio->bi_hw_segments
+%)
size = $bio->bi_size
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 4 18:08:23 CET 2008 - tiwai@suse.de
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 21 14:09:21 CET 2008 - tiwai@suse.de Fri Nov 21 14:09:21 CET 2008 - tiwai@suse.de

View File

@ -25,7 +25,7 @@ BuildRequires: latex2html
%define package_version 20080906 %define package_version 20080906
License: GPL v2 or later License: GPL v2 or later
Version: 0.7.1 Version: 0.7.1
Release: 25 Release: 26
Summary: Instrumentation System Summary: Instrumentation System
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Url: http://sourceware.org/systemtap/ Url: http://sourceware.org/systemtap/
@ -36,6 +36,7 @@ Patch: systemtap-docdir-fix.diff
Patch1: systemtap-old-autoconf-fix.diff Patch1: systemtap-old-autoconf-fix.diff
Patch2: stap-fix-dump_unwindsyms.patch Patch2: stap-fix-dump_unwindsyms.patch
Patch3: systemtap-parameter-bound-check.diff Patch3: systemtap-parameter-bound-check.diff
Patch4: systemtap-ioblock-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -61,6 +62,7 @@ Authors:
%endif %endif
%patch2 -p1 %patch2 -p1
%patch3 %patch3
%patch4
%build %build
autoreconf -fi autoreconf -fi
@ -85,6 +87,8 @@ rm -rf ${RPM_BUILD_ROOT}
%dir %attr(0755,root,root) /var/cache/systemtap %dir %attr(0755,root,root) /var/cache/systemtap
%changelog %changelog
* Thu Dec 04 2008 tiwai@suse.de
- fix ioblock.stp for SUSE 2.6.27.x kernel (bnc#456175)
* Fri Nov 21 2008 tiwai@suse.de * Fri Nov 21 2008 tiwai@suse.de
- Add the bound check of parameters to fix segfault (bnc#447551) - Add the bound check of parameters to fix segfault (bnc#447551)
* Tue Nov 04 2008 tiwai@suse.de * Tue Nov 04 2008 tiwai@suse.de