fix zos selinux policy file

This commit is contained in:
Steve Grubb 2008-08-31 16:54:48 +00:00
parent 8955505fb2
commit 0e1966b810
2 changed files with 14 additions and 0 deletions

12
audit-1.7.5-policy.patch Normal file
View 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)

View File

@ -12,6 +12,7 @@ License: GPLv2+
Group: System Environment/Daemons
URL: http://people.redhat.com/sgrubb/audit/
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)
BuildRequires: gettext-devel intltool libtool swig python-devel
BuildRequires: kernel-headers >= 2.6.18
@ -95,6 +96,7 @@ A graphical utility for editing audit configuration.
%prep
%setup -q
%patch1 -p1
mkdir zos-remote-policy
cp -p audisp/plugins/zos-remote/policy/audispd-zos-remote.* zos-remote-policy