From badff5ca4ad2820d69646c810e93a0655b9752ca Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Feb 14 2013 15:43:07 +0000 Subject: Make stack non-executable. --- diff --git a/zfs-fuse.spec b/zfs-fuse.spec index 02007db..98560e6 100644 --- a/zfs-fuse.spec +++ b/zfs-fuse.spec @@ -1,7 +1,7 @@ %define _hardened_build 1 Name: zfs-fuse Version: 0.7.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: ZFS ported to Linux FUSE Group: System Environment/Base License: CDDL @@ -12,7 +12,7 @@ Source02: zfs-fuse.scrub Source03: zfs-fuse.sysconfig Source04: zfs-fuse-helper Patch0: zfs-fuse-0.7.0-umem.patch -BuildRequires: fuse-devel libaio-devel scons zlib-devel openssl-devel libattr-devel +BuildRequires: fuse-devel libaio-devel scons zlib-devel openssl-devel libattr-devel prelink Requires: fuse >= 2.7.4-1 Requires(post): systemd-units Requires(preun): systemd-units @@ -59,6 +59,11 @@ scons debug=1 install install_dir=%{buildroot}%{_bindir} man_dir=%{buildroot}%{_ %{__install} -Dp -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{__install} -Dp -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/zfs-fuse-helper +#set stack not executable, BZ 911150 +for i in zdb zfs zfs-fuse zpool ztest; do + /usr/bin/execstack -c %{buildroot}%{_bindir}/$i +done + %clean %{__rm} -rf %{buildroot} @@ -131,6 +136,9 @@ fi %{_mandir}/man8/zstreamdump.8.gz %changelog +* Thu Feb 14 2013 Jon Ciesla - 0.7.0-9 +- Set stack not executable on some binaries, BZ 911150. + * Tue Jan 29 2013 Jon Ciesla - 0.7.0-8 - Correct OOM immunization. - Drop PrivateTmp to fix mount issue, BZ 904643.