fix zos selinux policy file
This commit is contained in:
parent
8955505fb2
commit
0e1966b810
12
audit-1.7.5-policy.patch
Normal file
12
audit-1.7.5-policy.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urp audit-1.7.5.orig/audisp/plugins/zos-remote/policy/audispd-zos-remote.te audit-1.7.5/audisp/plugins/zos-remote/policy/audispd-zos-remote.te
|
||||||
|
--- audit-1.7.5.orig/audisp/plugins/zos-remote/policy/audispd-zos-remote.te 2008-08-31 12:42:58.000000000 -0400
|
||||||
|
+++ audit-1.7.5/audisp/plugins/zos-remote/policy/audispd-zos-remote.te 2008-08-31 12:43:24.000000000 -0400
|
||||||
|
@@ -10,7 +10,7 @@ type zos_remote_exec_t;
|
||||||
|
|
||||||
|
## use below if selinux-policy_devel > 3:
|
||||||
|
## zos_remote_application_domain(zos_remote_t, zos_remote_exec_t)
|
||||||
|
-logging_audisp_system_domain(zos_remote_t, zos_remote_exec_t)
|
||||||
|
+## logging_audisp_system_domain(zos_remote_t, zos_remote_exec_t)
|
||||||
|
|
||||||
|
## use below for RHEL5 series:
|
||||||
|
init_system_domain(zos_remote_t, zos_remote_exec_t)
|
@ -12,6 +12,7 @@ License: GPLv2+
|
|||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://people.redhat.com/sgrubb/audit/
|
URL: http://people.redhat.com/sgrubb/audit/
|
||||||
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: audit-1.7.5-policy.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gettext-devel intltool libtool swig python-devel
|
BuildRequires: gettext-devel intltool libtool swig python-devel
|
||||||
BuildRequires: kernel-headers >= 2.6.18
|
BuildRequires: kernel-headers >= 2.6.18
|
||||||
@ -95,6 +96,7 @@ A graphical utility for editing audit configuration.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
mkdir zos-remote-policy
|
mkdir zos-remote-policy
|
||||||
cp -p audisp/plugins/zos-remote/policy/audispd-zos-remote.* zos-remote-policy
|
cp -p audisp/plugins/zos-remote/policy/audispd-zos-remote.* zos-remote-policy
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user