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__.py113 port_types = None variable
142 global port_types
151 port_types = None
919 global port_types
920 if port_types:
921 return port_types
922 port_types = list(sorted(info(ATTRIBUTE, "port_type"))[0]["types"])
923 return port_types
1200 global port_types
1219 port_types = None
Dgui.py1723 port_types = []
1726 if t not in port_types + ["port_t", "unreserved_port_t"]:
1730 port_types.append(t)
1732 port_types.sort()
1739 for t in port_types:
/external/selinux/python/sepolicy/
Dsepolicy.py165 port_types = sepolicy.get_all_port_types()
170 if v not in port_types:
171 …e ValueError("%s must be an SELinux port type:\nValid port types: %s" % (v, ", ".join(port_types)))