Lines Matching refs:pol
56 pol = None variable
67 def GetAllDomains(pol): argument
69 for result in pol.QueryTypeAttribute("domain", True):
128 def GetDomainEntrypoints(pol): argument
130 for x in pol.QueryExpandedTERule(tclass=set(["file"]), perms=set(["entrypoint"])):
140 entrypointpath = pol.QueryFc(x.tctx)
147 def GetAttributes(pol): argument
150 for result in pol.QueryTypeAttribute(domain, False):
153 def GetAllTypes(pol, oldpol): argument
156 alltypes = pol.GetAllTypes(False)
159 def setup(pol): argument
160 GetAllDomains(pol)
161 GetAttributes(pol)
162 GetDomainEntrypoints(pol)
167 def compatSetup(pol, oldpol, mapping, types): argument
171 GetAllTypes(pol, oldpol)
304 global pol
305 return pol.AssertPathTypesDoNotHaveAttr(["/data/vendor/", "/data/vendor_ce/",
393 pol = policy.Policy(options.policy, options.file_contexts, options.libpath) variable
394 setup(pol)