selinux-policy/refpolicy/policy/modules/services/dhcp.if

22 lines
443 B
Plaintext

## <summary>Dynamic host configuration protocol (DHCP) server</summary>
########################################
## <summary>
## Set the attributes of the DCHP
## server state files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`dhcpd_setattr_state_files',`
gen_require(`
type dhcpd_state_t;
')
sysnet_search_dhcp_state($1)
allow $1 dhcpd_state_t:file setattr;
')