Home
last modified time | relevance | path

Searched refs:portrecs (Results 1 – 4 of 4) sorted by relevance

/external/selinux/python/sepolicy/sepolicy/
Dnetwork.py36 portrecs, portrecsbynum = sepolicy.gen_port_dict()
63 d[(src, protocol, perm)].append((i, portrecs[(i, protocol)]))
D__init__.py104 portrecs = None variable
883 global portrecs
885 if portrecs:
886 return (portrecs, portrecsbynum)
888 portrecs = {}
895 if (i['type'], i['protocol']) in portrecs:
896 portrecs[(i['type'], i['protocol'])].append(port)
898 portrecs[(i['type'], i['protocol'])] = [port]
905 return (portrecs, portrecsbynum)
1247 global portrecs
[all …]
Dmanpage.py414 self.portrecs = sepolicy.gen_port_dict()[0]
726 if (p, prot) in self.portrecs:
734 .EE""" % (prot, ",".join(self.portrecs[(p, prot)])))
/external/selinux/python/sepolicy/
Dsepolicy.py267 portrecs, portrecsbynum = sepolicy.gen_port_dict()
270 for i in portrecs:
293 if (t, 'tcp') in portrecs.keys():
294 print("%s: tcp: %s" % (t, ",".join(portrecs[t, 'tcp'])))
295 if (t, 'udp') in portrecs.keys():
296 print( "%s: udp: %s" % (t, ",".join(portrecs[t, 'udp'])))