Backport sandbox fixes from F16

This commit is contained in:
Dan Walsh 2011-09-06 15:17:14 -04:00
parent 93c449a55a
commit 4f2b60f96a
2 changed files with 954 additions and 881 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.0.85
Release: 30.2%{?dist}
Release: 30.3%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@ -60,11 +60,11 @@ context.
%prep
%setup -q -a 1
%patch -p2 -b .rhat
%patch -p1 -b .rhat
%patch1 -p1 -b .rhatpo
%patch3 -p1 -b .gui
%patch4 -p1 -b .sepolgen
%patch5 -p1 -b .sandbox
#%patch5 -p1 -b .sandbox
%build
make LSPP_PRIV=y LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE " LDFLAGS="-pie -Wl,-z,relro" all
@ -320,6 +320,9 @@ fi
exit 0
%changelog
* Tue Sep 6 2011 Dan Walsh <dwalsh@redhat.com> 2.0.86-7.3
- Backport sandbox fixes from F16
* Thu Jul 7 2011 Dan Walsh <dwalsh@redhat.com> 2.0.86-7.2
- Change seunshare to send kill signals to the childs session.
- Also add signal handler to catch sigint, so if user enters ctrl-C sandbox will shutdown.