2009-01-13 14:09:47 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsasepolgen/src/sepolgen/refparser.py policycoreutils-2.0.61/sepolgen-1.0.15/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
|
2009-01-13 14:09:47 +00:00
|
|
|
+++ policycoreutils-2.0.61/sepolgen-1.0.15/src/sepolgen/refparser.py 2008-12-15 15:34:55.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:
|
2009-01-13 14:09:47 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsasepolgen/src/sepolgen/yacc.py policycoreutils-2.0.61/sepolgen-1.0.15/src/sepolgen/yacc.py
|
2008-12-06 12:28:04 +00:00
|
|
|
--- nsasepolgen/src/sepolgen/yacc.py 2008-08-28 09:34:24.000000000 -0400
|
2009-01-13 14:09:47 +00:00
|
|
|
+++ policycoreutils-2.0.61/sepolgen-1.0.15/src/sepolgen/yacc.py 2008-12-15 15:34:55.000000000 -0500
|
2008-12-06 12:28:04 +00:00
|
|
|
@@ -67,7 +67,7 @@
|
|
|
|
|
|
|
|
error_count = 3 # Number of symbols that must be shifted to leave recovery mode
|
|
|
|
|
|
|
|
-import re, types, sys, cStringIO, md5, os.path
|
|
|
|
+import re, types, sys, cStringIO, hashlib, os.path
|
|
|
|
|
|
|
|
# Exception raised for yacc-related errors
|
|
|
|
class YaccError(Exception): pass
|
|
|
|
@@ -506,7 +506,7 @@
|
|
|
|
|
|
|
|
Errorfunc = None # User defined error handler
|
|
|
|
|
|
|
|
- Signature = md5.new() # Digital signature of the grammar rules, precedence
|
|
|
|
+ Signature = hashlib.md5() # Digital signature of the grammar rules, precedence
|
|
|
|
# and other information. Used to determined when a
|
|
|
|
# parsing table needs to be regenerated.
|
|
|
|
|