diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if index 43fc19b20..95c6c137d 100644 --- a/policy/modules/system/sysnetwork.if +++ b/policy/modules/system/sysnetwork.if @@ -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) ')