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

20 lines
416 B
Plaintext

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