selinux-refpolicy/refpolicy/policy/modules/system/sysnetwork.if
2005-04-25 20:13:45 +00:00

15 lines
388 B
Plaintext

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