예제 #1
0
 def __init__(self, parent, policy, perm_map):
     super(InfoFlowAnalysisTab, self).__init__(parent)
     self.log = logging.getLogger(__name__)
     self.policy = policy
     self.query = InfoFlowAnalysis(policy, perm_map)
     self.query.source = None
     self.query.target = None
     self.setupUi()
예제 #2
0
파일: infoflow.py 프로젝트: suezi/setools
 def setUpClass(cls):
     cls.p = SELinuxPolicy("tests/infoflow.conf")
     cls.m = PermissionMap("tests/perm_map")
     cls.a = InfoFlowAnalysis(cls.p, cls.m)
예제 #3
0
 def setUpClass(cls):
     cls.p = compile_policy("tests/conditionalinfoflow.conf", mls=False)
     cls.m = PermissionMap("tests/perm_map")
     cls.a = InfoFlowAnalysis(cls.p, cls.m)
예제 #4
0
 def __init__(self, parent, policy, perm_map):
     super(InfoFlowAnalysisTab, self).__init__(parent)
     self.log = logging.getLogger(self.__class__.__name__)
     self.policy = policy
     self.query = InfoFlowAnalysis(policy, perm_map)
     self.setupUi()