Searched refs:portrecs (Results 1 – 4 of 4) sorted by relevance
/external/selinux/python/sepolicy/sepolicy/ |
D | network.py | 37 portrecs, portrecsbynum = sepolicy.gen_port_dict() 64 d[(src, protocol, perm)].append((i, portrecs[(i, protocol)]))
|
D | __init__.py | 104 portrecs = None variable 790 global portrecs 792 if portrecs: 793 return (portrecs, portrecsbynum) 795 portrecs = {} 802 if (i['type'], i['protocol']) in portrecs: 803 portrecs[(i['type'], i['protocol'])].append(port) 805 portrecs[(i['type'], i['protocol'])] = [port] 812 return (portrecs, portrecsbynum) 1140 global portrecs [all …]
|
D | manpage.py | 408 self.portrecs = sepolicy.gen_port_dict()[0] 680 if (p, prot) in self.portrecs: 688 .EE""" % (prot, ",".join(self.portrecs[(p, prot)])))
|
/external/selinux/python/sepolicy/ |
D | sepolicy.py | 282 portrecs, portrecsbynum = sepolicy.gen_port_dict() 285 for i in portrecs: 308 if (t, 'tcp') in portrecs.keys(): 309 print("%s: tcp: %s" % (t, ",".join(portrecs[t, 'tcp']))) 310 if (t, 'udp') in portrecs.keys(): 311 print( "%s: udp: %s" % (t, ",".join(portrecs[t, 'udp'])))
|