Home
last modified time | relevance | path

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

/external/selinux/python/semanage/
Dseobject.py1040 valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"]) variable in portRecords
1042 valid_types = [] variable in portRecords
1083 if type not in self.valid_types:
1147 if setype and setype not in self.valid_types:
1315 valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "node_type"))[0]["types"]) variable in nodeRecords
1317 valid_types = [] variable in nodeRecords
1360 if ctype not in self.valid_types:
1429 if setype and setype not in self.valid_types:
1746 valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "file_type"))[0]["types"]) variable in fcontextRecords
1747 valid_types += list(list(sepolicy.info(sepolicy.ATTRIBUTE, "device_node"))[0]["types"])
[all …]
/external/selinux/python/sepolicy/sepolicy/
D__init__.py294 valid_types = set([ALLOW, AUDITALLOW, NEVERALLOW, DONTAUDIT, TRANSITION, ROLE_ALLOW])
296 if setype not in valid_types:
297 raise ValueError("Type has to be in %s" % " ".join(valid_types))