From 971815adbfc7ca752878745f18fa8fc1e0b4c47e Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 6 Mar 2006 14:45:58 +0000 Subject: [PATCH] * Mon Mar 6 2006 Dan Walsh 1.29.26-5 - Fix audit2allow to generate all rules --- policycoreutils-rhat.patch | 11 ++++++++++- policycoreutils.spec | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index cfb3d71..f648ed8 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -1,6 +1,6 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-1.29.26/audit2allow/audit2allow --- nsapolicycoreutils/audit2allow/audit2allow 2005-12-08 12:52:44.000000000 -0500 -+++ policycoreutils-1.29.26/audit2allow/audit2allow 2006-02-23 16:32:45.000000000 -0500 ++++ policycoreutils-1.29.26/audit2allow/audit2allow 2006-03-06 09:44:31.000000000 -0500 @@ -25,6 +25,118 @@ # # @@ -187,6 +187,15 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/audit2allow found=1 else: avc.append(i) +@@ -166,7 +313,7 @@ + self.add_seclass(seclass, access) + self.add_type(tcon) + self.add_type(scon) +- if (type, scon, tcon, seclass) not in self.seRules.keys(): ++ if (rule_type, scon, tcon, seclass) not in self.seRules.keys(): + self.seRules[(rule_type, scon, tcon, seclass)]=serule(rule_type, scon, tcon, seclass) + + self.seRules[(rule_type, scon, tcon, seclass)].add((access, msg, comm, name )) @@ -182,9 +329,10 @@ if "security_compute_sid" in avc: return diff --git a/policycoreutils.spec b/policycoreutils.spec index f4c4fa8..4976fac 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -5,7 +5,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 1.29.26 -Release: 4 +Release: 5 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -99,6 +99,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/python2.4/site-packages/seobject.py* %changelog +* Mon Mar 6 2006 Dan Walsh 1.29.26-5 +- Fix audit2allow to generate all rules + * Fri Mar 3 2006 Dan Walsh 1.29.26-4 - Minor fixes to chcat and semanage