OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:portrecs
(Results
1 - 4
of
4
) sorted by null
/external/selinux/python/sepolicy/sepolicy/
network.py
37
portrecs
, portrecsbynum = sepolicy.gen_port_dict()
64
d[(src, protocol, perm)].append((i,
portrecs
[(i, protocol)]))
__init__.py
106
portrecs
= None
variable
836
global
portrecs
838
if
portrecs
:
839
return (
portrecs
, portrecsbynum)
841
portrecs
= {}
848
if (i['type'], i['protocol']) in
portrecs
:
849
portrecs
[(i['type'], i['protocol'])].append(port)
851
portrecs
[(i['type'], i['protocol'])] = [port]
858
return (
portrecs
, portrecsbynum)
[
all
...]
manpage.py
415
self.
portrecs
= sepolicy.gen_port_dict()[0]
727
if (p, prot) in self.
portrecs
:
735
.EE""" % (prot, ",".join(self.
portrecs
[(p, prot)])))
[
all
...]
/external/selinux/python/sepolicy/
sepolicy.py
276
portrecs
, portrecsbynum = sepolicy.gen_port_dict()
279
for i in
portrecs
:
302
if (t, 'tcp') in
portrecs
.keys():
303
print("%s: tcp: %s" % (t, ",".join(
portrecs
[t, 'tcp'])))
304
if (t, 'udp') in
portrecs
.keys():
305
print( "%s: udp: %s" % (t, ",".join(
portrecs
[t, 'udp'])))
Completed in 109 milliseconds