* Mon Mar 6 2006 Dan Walsh <dwalsh@redhat.com> 1.29.26-5

- Fix audit2allow to generate all rules
This commit is contained in:
Daniel J Walsh 2006-03-06 14:45:58 +00:00
parent a239583a43
commit 971815adbf
2 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,6 @@
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-1.29.26/audit2allow/audit2allow 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 --- 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 @@ @@ -25,6 +25,118 @@
# #
# #
@ -187,6 +187,15 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/audit2allow
found=1 found=1
else: else:
avc.append(i) 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 @@ @@ -182,9 +329,10 @@
if "security_compute_sid" in avc: if "security_compute_sid" in avc:
return return

View File

@ -5,7 +5,7 @@
Summary: SELinux policy core utilities. Summary: SELinux policy core utilities.
Name: policycoreutils Name: policycoreutils
Version: 1.29.26 Version: 1.29.26
Release: 4 Release: 5
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz 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* %{_libdir}/python2.4/site-packages/seobject.py*
%changelog %changelog
* Mon Mar 6 2006 Dan Walsh <dwalsh@redhat.com> 1.29.26-5
- Fix audit2allow to generate all rules
* Fri Mar 3 2006 Dan Walsh <dwalsh@redhat.com> 1.29.26-4 * Fri Mar 3 2006 Dan Walsh <dwalsh@redhat.com> 1.29.26-4
- Minor fixes to chcat and semanage - Minor fixes to chcat and semanage