Home
last modified time | relevance | path

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

/external/selinux/python/sepolicy/sepolicy/
Dnetwork.py26 def get_types(src, tclass, perm, check_bools=False): argument
30 …RGET], filter(lambda x: set(perm).issubset(x[sepolicy.PERMS]) and (not check_bools or x["enabled"]…
36 def get_network_connect(src, protocol, perm, check_bools=False): argument
39 tlist = get_types(src, "%s_socket" % protocol, [perm], check_bools)
Dgui.py927 netd = sepolicy.network.get_network_connect(app, "tcp", "name_connect", check_bools=True)
929 netd = sepolicy.network.get_network_connect(app, "tcp", "name_bind", check_bools=True)
931 netd = sepolicy.network.get_network_connect(app, "udp", "name_bind", check_bools=True)
1718 …d = sepolicy.network.get_network_connect(self.application, "tcp", "name_connect", check_bools=True)
1720 …netd = sepolicy.network.get_network_connect(self.application, "tcp", "name_bind", check_bools=True)
1721 …etd += sepolicy.network.get_network_connect(self.application, "udp", "name_bind", check_bools=True)