Audit2allow will check for mislabeled files, and tells user to fix the label.

- Also checks for basefiles and suggests creating a different label.
- Patch from Ryan Hallisey
This commit is contained in:
Dan Walsh 2014-11-18 14:06:12 -05:00
parent 0b82466d22
commit 4db62cd26e

View File

@ -51,10 +51,10 @@ to switch roles.
%setup -q -a 1
%patch -p1 -b .rhat
%patch1 -p2 -b .setfiles
%patch2 -p2 -b .audit2allow
cp %{SOURCE3} gui/
tar xvf %{SOURCE4}
cd sepolgen-%{sepolgenver}
%patch2 -p2 -b .audit2allow
%build
make LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" SEMODULE_PATH="/usr/sbin" all