diff --git a/policy/modules/services/dhcp.if b/policy/modules/services/dhcp.if index c3a503911..51316b4d6 100644 --- a/policy/modules/services/dhcp.if +++ b/policy/modules/services/dhcp.if @@ -20,6 +20,25 @@ interface(`dhcpd_setattr_state_files',` allow $1 dhcpd_state_t:file setattr; ') +######################################## +## +## Execute dhcp server in the dhcp domain. +## +## +## +## The type of the process performing this action. +## +## +# +# +interface(`dhcpd_initrc_domtrans',` + gen_require(` + type dhcpd_initrc_exec_t; + ') + + init_labeled_script_domtrans($1, dhcpd_initrc_exec_t) +') + ######################################## ## ## All of the rules required to administrate diff --git a/policy/modules/services/dhcp.te b/policy/modules/services/dhcp.te index 2ea4bfb7b..b33e88fad 100644 --- a/policy/modules/services/dhcp.te +++ b/policy/modules/services/dhcp.te @@ -1,5 +1,5 @@ -policy_module(dhcp, 1.7.2) +policy_module(dhcp, 1.7.3) ######################################## #