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
154 global role_allows
163 role_allows = None
832 global role_allows
833 if role_allows:
834 return role_allows
835 role_allows = {}
843 if src in role_allows:
844 role_allows[src].append(tgt)
846 role_allows[src] = [tgt]
[all …]
Dmanpage.py424 self.role_allows = sepolicy.get_all_role_allows()
1102 for adminrole in self.role_allows[role]:
1122 """ % {'user': self.domainname, "roles": " ".join([role] + self.role_allows[role])})
1297 for i in self.role_allows:
1298 if self.domainname + "_r" in self.role_allows[i]:
/external/selinux/python/sepolgen/src/sepolgen/
Drefpolicy.py135 def role_allows(self): member in Node