Home
last modified time | relevance | path

Searched refs:role_allows (Results 1 – 3 of 3) sorted by relevance

/external/selinux/policycoreutils/sepolicy/sepolicy/
D__init__.py439 role_allows = None variable
441 global role_allows
442 if role_allows:
443 return role_allows
444 role_allows = {}
448 if r["source"] in role_allows:
449 role_allows[r["source"]].append(r["target"])
451 role_allows[r["source"]] = [ r["target"] ]
453 return role_allows
711 global role_allows
[all …]
Dmanpage.py401 self.role_allows = get_all_role_allows()
1015 for adminrole in self.role_allows[role]:
1035 """ % {'user':self.domainname, "roles": " ".join([role] + self.role_allows[role]) } )
1205 for i in self.role_allows:
1206 if self.domainname +"_r" in self.role_allows[i]:
/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py130 def role_allows(self): member in Node