Home
last modified time | relevance | path

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

/external/selinux/python/sepolicy/sepolicy/
D__init__.py122 port_types = None variable
170 global port_types
179 port_types = None
989 global port_types
990 if port_types:
991 return port_types
992 port_types = list(sorted(info(ATTRIBUTE, "port_type"))[0]["types"])
993 return port_types
1267 global port_types
1286 port_types = None
Dgui.py1711 port_types = []
1714 if t not in port_types + ["port_t", "unreserved_port_t"]:
1718 port_types.append(t)
1720 port_types.sort()
1727 for t in port_types:
/external/selinux/python/sepolicy/
Dsepolicy.py167 port_types = sepolicy.get_all_port_types()
173 if v not in port_types:
174 …e ValueError("%s must be an SELinux port type:\nValid port types: %s" % (v, ", ".join(port_types)))