Home
last modified time | relevance | path

Searched refs:check_bools (Results 1 – 2 of 2) sorted by relevance

/external/selinux/python/sepolicy/sepolicy/
Dnetwork.py25 def get_types(src, tclass, perm, check_bools=False): argument
29 …RGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]) and (not check_bools or x["enabled"]…
35 def get_network_connect(src, protocol, perm, check_bools=False): argument
38 tlist = get_types(src, "%s_socket" % protocol, [perm], check_bools)
Dgui.py926 netd = sepolicy.network.get_network_connect(app, "tcp", "name_connect", check_bools=True)
928 netd = sepolicy.network.get_network_connect(app, "tcp", "name_bind", check_bools=True)
930 netd = sepolicy.network.get_network_connect(app, "udp", "name_bind", check_bools=True)
1717 …d = sepolicy.network.get_network_connect(self.application, "tcp", "name_connect", check_bools=True)
1719 …netd = sepolicy.network.get_network_connect(self.application, "tcp", "name_bind", check_bools=True)
1720 …etd += sepolicy.network.get_network_connect(self.application, "udp", "name_bind", check_bools=True)