On Sun, Aug 17, 2014 at 07:01:53PM +0200, Christian Boltz wrote: > this patch removes some REs that are unused in logparser.py. > > Those REs also exist (and are used) in aa.py.
Acked-by: Steve Beattie <[email protected]> Thanks! > === modified file 'utils/apparmor/logparser.py' > --- utils/apparmor/logparser.py 2014-07-14 19:01:15 +0000 > +++ utils/apparmor/logparser.py 2014-08-17 16:28:57 +0000 > @@ -27,10 +27,6 @@ > class ReadLog: > RE_LOG_v2_6_syslog = > re.compile('kernel:\s+(\[[\d\.\s]+\]\s+)?type=\d+\s+audit\([\d\.\:]+\):\s+apparmor=') > RE_LOG_v2_6_audit = > re.compile('type=AVC\s+(msg=)?audit\([\d\.\:]+\):\s+apparmor=') > - MODE_MAP_RE = re.compile('r|w|l|m|k|a|x|i|u|p|c|n|I|U|P|C|N') > - PROFILE_MODE_RE = > re.compile('r|w|l|m|k|a|ix|ux|px|cx|pix|cix|Ux|Px|PUx|Cx|Pix|Cix') > - PROFILE_MODE_NT_RE = > re.compile('r|w|l|m|k|a|x|ix|ux|px|cx|pix|cix|Ux|Px|PUx|Cx|Pix|Cix') > - PROFILE_MODE_DENY_RE = re.compile('r|w|l|m|k|a|x') > # Used by netdomain to identify the operation types > # New socket names > OPERATION_TYPES = {'create': 'net', -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
