Switch sysnet_use_portmap(), sysnet_use_ldap(), and sysnet_dns_name_resolve() to use sysnet_read_config() rather thane explicit type usage.
This commit is contained in:
parent
7a0c0b4088
commit
81a0fb4024
|
@ -556,8 +556,7 @@ interface(`sysnet_dns_name_resolve',`
|
|||
corenet_tcp_connect_dns_port($1)
|
||||
corenet_sendrecv_dns_client_packets($1)
|
||||
|
||||
files_search_etc($1)
|
||||
allow $1 net_conf_t:file read_file_perms;
|
||||
sysnet_read_config($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -585,8 +584,7 @@ interface(`sysnet_use_ldap',`
|
|||
corenet_tcp_connect_ldap_port($1)
|
||||
corenet_sendrecv_ldap_client_packets($1)
|
||||
|
||||
files_search_etc($1)
|
||||
allow $1 net_conf_t:file read_file_perms;
|
||||
sysnet_read_config($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -618,6 +616,5 @@ interface(`sysnet_use_portmap',`
|
|||
corenet_tcp_connect_portmap_port($1)
|
||||
corenet_sendrecv_portmap_client_packets($1)
|
||||
|
||||
files_search_etc($1)
|
||||
allow $1 net_conf_t:file read_file_perms;
|
||||
sysnet_read_config($1)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue