initial commit
This commit is contained in:
parent
219bcf7a8f
commit
549180e874
14
refpolicy/policy/modules/system/sysnetwork.if
Normal file
14
refpolicy/policy/modules/system/sysnetwork.if
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
########################################
|
||||||
|
#
|
||||||
|
# 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 };
|
||||||
|
')
|
2
refpolicy/policy/modules/system/sysnetwork.te
Normal file
2
refpolicy/policy/modules/system/sysnetwork.te
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
type net_conf_t alias resolv_conf_t;
|
||||||
|
files_make_file(net_conf_t)
|
Loading…
Reference in New Issue
Block a user