15 lines
388 B
Plaintext
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 };
|
||
|
')
|