Home
last modified time | relevance | path

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

/external/selinux/python/sepolicy/sepolicy/
D__init__.py103 role_allows = None variable
134 global role_allows
143 role_allows = None
740 global role_allows
741 if role_allows:
742 return role_allows
743 role_allows = {}
751 if src in role_allows:
752 role_allows[src].append(tgt)
754 role_allows[src] = [tgt]
[all …]
Dmanpage.py418 self.role_allows = sepolicy.get_all_role_allows()
1031 for adminrole in self.role_allows[role]:
1051 """ % {'user': self.domainname, "roles": " ".join([role] + self.role_allows[role])})
1221 for i in self.role_allows:
1222 if self.domainname + "_r" in self.role_allows[i]:
/external/selinux/python/sepolgen/src/sepolgen/
Drefpolicy.py132 def role_allows(self): member in Node