Chris PeBenito 549180
########################################
Chris PeBenito 549180
#
Chris PeBenito 549180
# sysnetwork_read_network_config(domain,[`optional'])
Chris PeBenito 549180
#
Chris PeBenito 549180
define(`sysnetwork_read_network_config',`
Chris PeBenito 549180
requires_block_template(sysnetwork_read_network_config_depend,$2)
Chris PeBenito 549180
# FIXME: allow $1 etc_t:dir search;
Chris PeBenito 549180
allow $1 net_conf_t:file { getattr read };
Chris PeBenito 549180
')
Chris PeBenito 549180
Chris PeBenito 549180
define(`sysnetwork_read_network_config_depend',`
Chris PeBenito 549180
type net_conf_t;
Chris PeBenito 549180
class file { getattr read };
Chris PeBenito 549180
')