Searched refs:port_types (Results 1 – 3 of 3) sorted by relevance
111 port_types = None variable158 global port_types167 port_types = None965 global port_types966 if port_types:967 return port_types968 port_types = list(sorted(info(ATTRIBUTE, "port_type"))[0]["types"])969 return port_types1248 global port_types1267 port_types = None
1722 port_types = []1725 if t not in port_types + ["port_t", "unreserved_port_t"]:1729 port_types.append(t)1731 port_types.sort()1738 for t in port_types:
166 port_types = sepolicy.get_all_port_types()172 if v not in port_types:173 …e ValueError("%s must be an SELinux port type:\nValid port types: %s" % (v, ", ".join(port_types)))