mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Drop unused 'pid' parameter from ReadLog.__init__()
... and self.pid which is also unused. This simple change also means to adjust all the code that uses ReadLog. We get rid of log_pid in aa.py, and have to change lots of test-*
This commit is contained in:
@@ -84,7 +84,7 @@ class PtraceTestParseInvalid(PtraceTest):
|
||||
|
||||
class PtraceTestParseFromLog(PtraceTest):
|
||||
def test_ptrace_from_log(self):
|
||||
parser = ReadLog('', '', '', '')
|
||||
parser = ReadLog('', '', '')
|
||||
event = 'type=AVC msg=audit(1409700683.304:547661): apparmor="DENIED" operation="ptrace" profile="/home/ubuntu/bzr/apparmor/tests/regression/apparmor/ptrace" pid=22465 comm="ptrace" requested_mask="tracedby" denied_mask="tracedby" peer="/home/ubuntu/bzr/apparmor/tests/regression/apparmor/ptrace"'
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user