Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/sepolicy/sepolicy/
D__init__.py625 port_types = None variable
629 global port_types
630 if port_types:
631 return port_types
632 port_types = info(ATTRIBUTE, "port_type")[0]["types"]
633 port_types.sort()
634 return port_types
782 global port_types
791 port_types = None
956 global port_types
[all …]
Dgui.py1718 port_types = []
1721 if t not in port_types + ["port_t", "unreserved_port_t"]:
1725 port_types.append(t)
1727 port_types.sort()
1734 for t in port_types:
/external/selinux/policycoreutils/sepolicy/
Dsepolicy.py160 port_types = sepolicy.get_all_port_types()
165 if v not in port_types:
166 …e ValueError("%s must be an SELinux port type:\nValid port types: %s" % (v, ", ".join(port_types)))