2008-12-01 16:49:49 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsasepolgen/src/sepolgen/access.py policycoreutils-2.0.60/sepolgen-1.0.14/src/sepolgen/access.py
|
|
|
|
--- nsasepolgen/src/sepolgen/access.py 2008-08-28 09:34:24.000000000 -0400
|
|
|
|
+++ policycoreutils-2.0.60/sepolgen-1.0.14/src/sepolgen/access.py 2008-12-01 11:41:09.000000000 -0500
|
|
|
|
@@ -314,7 +314,7 @@
|
2008-09-11 13:55:11 +00:00
|
|
|
|
2008-12-01 16:49:49 +00:00
|
|
|
def __len__(self):
|
|
|
|
"""Return the unique number of role allow statements."""
|
|
|
|
- return len(self.roles)
|
|
|
|
+ return len(self.role_type.keys())
|
2008-09-11 13:55:11 +00:00
|
|
|
|
2008-12-01 16:49:49 +00:00
|
|
|
def add(self, role, type):
|
|
|
|
if self.role_types.has_key(role):
|
|
|
|
diff --exclude-from=exclude -N -u -r nsasepolgen/src/sepolgen/refparser.py policycoreutils-2.0.60/sepolgen-1.0.14/src/sepolgen/refparser.py
|
2008-09-11 13:55:11 +00:00
|
|
|
--- nsasepolgen/src/sepolgen/refparser.py 2008-08-28 09:34:24.000000000 -0400
|
2008-12-01 16:49:49 +00:00
|
|
|
+++ policycoreutils-2.0.60/sepolgen-1.0.14/src/sepolgen/refparser.py 2008-12-01 11:26:20.000000000 -0500
|
2008-01-23 20:23:24 +00:00
|
|
|
@@ -919,7 +919,7 @@
|
2007-12-19 10:40:23 +00:00
|
|
|
def list_headers(root):
|
|
|
|
modules = []
|
|
|
|
support_macros = None
|
|
|
|
- blacklist = ["init.if", "inetd.if", "uml.if", "thunderbird.if"]
|
|
|
|
+ blacklist = ["uml.if", "thunderbird.if"]
|
|
|
|
|
|
|
|
for dirpath, dirnames, filenames in os.walk(root):
|
|
|
|
for name in filenames:
|