Lines Matching refs:refpolicy
27 import refpolicy
81 self.module = refpolicy.Module()
124 refpolicy = True
126 refpolicy = False
128 mod.refpolicy = refpolicy
138 m = refpolicy.ModuleDeclaration()
143 m.refpolicy = True
145 m.refpolicy = False
157 rule = refpolicy.AVRule(av)
162 rule.comment = str(refpolicy.Comment(explain_access(av, verbosity=self.explain)))
261 (msg.tclass, refpolicy.list_to_space_str(msg.accesses)))
288 ifcall = refpolicy.InterfaceCall()
292 if params[i].type == refpolicy.SRC_TYPE:
294 elif params[i].type == refpolicy.TGT_TYPE:
296 elif params[i].type == refpolicy.OBJ_CLASS:
331 if params[i].type not in [refpolicy.SRC_TYPE, refpolicy.TGT_TYPE,
332 refpolicy.OBJ_CLASS]:
342 ifcall.comment = refpolicy.Comment(explain_access(ml.av, ml, verbosity))
376 r = refpolicy.Require()