Blame refpolicy/policy/modules/services/dhcp.if
|
Chris PeBenito |
7c8fc3 |
## <summary>Dynamic host configuration protocol (DHCP) server</summary>
|
|
Chris PeBenito |
7c8fc3 |
|
|
Chris PeBenito |
7c8fc3 |
########################################
|
|
Chris PeBenito |
7c8fc3 |
## <summary>
|
|
Chris PeBenito |
7c8fc3 |
## Set the attributes of the DCHP
|
|
Chris PeBenito |
7c8fc3 |
## server state files.
|
|
Chris PeBenito |
7c8fc3 |
## </summary>
|
|
Chris PeBenito |
7c8fc3 |
## <param name="domain">
|
|
Chris PeBenito |
7c8fc3 |
## Domain allowed access.
|
|
Chris PeBenito |
7c8fc3 |
## </param>
|
|
Chris PeBenito |
7c8fc3 |
#
|
|
Chris PeBenito |
7c8fc3 |
interface(`dhcpd_setattr_state_files',`
|
|
Chris PeBenito |
7c8fc3 |
gen_require(`
|
|
Chris PeBenito |
7c8fc3 |
type dhcpd_state_t;
|
|
Chris PeBenito |
7c8fc3 |
class file setattr;
|
|
Chris PeBenito |
7c8fc3 |
')
|
|
Chris PeBenito |
7c8fc3 |
|
|
Chris PeBenito |
7c8fc3 |
sysnet_search_dhcp_state($1)
|
|
Chris PeBenito |
7c8fc3 |
allow $1 dhcpd_state_t:file setattr;
|
|
Chris PeBenito |
7c8fc3 |
')
|