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:
parent
0b82466d22
commit
4db62cd26e
@ -51,10 +51,10 @@ to switch roles.
|
|||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
%patch -p1 -b .rhat
|
%patch -p1 -b .rhat
|
||||||
%patch1 -p2 -b .setfiles
|
%patch1 -p2 -b .setfiles
|
||||||
%patch2 -p2 -b .audit2allow
|
|
||||||
|
|
||||||
cp %{SOURCE3} gui/
|
cp %{SOURCE3} gui/
|
||||||
tar xvf %{SOURCE4}
|
tar xvf %{SOURCE4}
|
||||||
|
cd sepolgen-%{sepolgenver}
|
||||||
|
%patch2 -p2 -b .audit2allow
|
||||||
|
|
||||||
%build
|
%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
|
make LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" SEMODULE_PATH="/usr/sbin" all
|
||||||
|
Loading…
Reference in New Issue
Block a user