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:
Chris PeBenito 2010-02-25 13:53:52 -05:00
parent 7a0c0b4088
commit 81a0fb4024
1 changed files with 3 additions and 6 deletions

View File

@ -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)
')