Home
last modified time | relevance | path

Searched refs:av_set (Results 1 – 4 of 4) sorted by relevance

/external/selinux/python/sepolgen/src/sepolgen/
Dmatching.py196 def av_set_match(self, av_set, av): argument
203 for x in av_set:
223 if av_set.info_dir is None:
224 av_set.info_dir = objectmodel.FLOW_NONE
225 for x in av_set:
226 av_set.info_dir = av_set.info_dir | \
228 if (av_dir & objectmodel.FLOW_WRITE == 0) and (av_set.info_dir & objectmodel.FLOW_WRITE):
Dpolicygen.py228 def add_access(self, av_set): argument
238 raw_allow, ifcalls = self.ifgen.gen(av_set, self.explain)
241 raw_allow = av_set
Daudit.py528 av_set = access.AccessVectorSet()
544 av_set.add_av(av, audit_msg=avc)
546 return av_set
/external/selinux/python/sepolgen/tests/
Dtest_audit.py216 av_set = a.to_access()
218 self.assertEqual(len(av_set), 2)
219 av_list = list(sorted(av_set))