patch to add a missing interface in the sysnetwork module
This patch adds a new interface to the sysnetwork module so that the DHCP client state directories can be searched.
This commit is contained in:
parent
18e37223df
commit
f39eeece2f
|
@ -213,6 +213,26 @@ interface(`sysnet_rw_dhcp_config',`
|
||||||
allow $1 dhcp_etc_t:file rw_file_perms;
|
allow $1 dhcp_etc_t:file rw_file_perms;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Search the DHCP client state
|
||||||
|
## directories.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`sysnet_search_dhcpc_state',`
|
||||||
|
gen_require(`
|
||||||
|
type dhcpc_state_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
files_search_var_lib($1)
|
||||||
|
allow $1 dhcpc_state_t:dir search_dir_perms;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Read dhcp client state files.
|
## Read dhcp client state files.
|
||||||
|
|
Loading…
Reference in New Issue