From: guido@trentalancia.com (Guido Trentalancia) Date: Fri, 24 Aug 2012 16:02:48 +0200 Subject: [refpolicy] [PATCH 2/2]: cpucontrol module updates (allow CPU microcode update utility as standalone application) Message-ID: <50378988.4050104@trentalancia.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com cpucontrol module modification to also allow execution as a standalone application rather than just as an init script or from run_init (mutually exclusive tunable policy won't work easily due to the presence of typeattributes within the init interfaces). Signed-off-by: Guido Trentalancia --- policy/modules/contrib/cpucontrol.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -pru refpolicy-08082012-a/policy/modules/contrib/cpucontrol.te refpolicy-08082012-b/policy/modules/contrib/cpucontrol.te --- refpolicy-08082012-a/policy/modules/contrib/cpucontrol.te 2012-08-09 02:50:45.253581021 +0200 +++ refpolicy-08082012-b/policy/modules/contrib/cpucontrol.te 2012-08-09 02:49:56.525140236 +0200 @@ -15,7 +15,7 @@ gen_tunable(cpucontrol_can_upload_cpu_mi type cpucontrol_t; type cpucontrol_exec_t; -init_system_domain(cpucontrol_t, cpucontrol_exec_t) +init_daemon_domain(cpucontrol_t, cpucontrol_exec_t) type cpucontrol_initrc_exec_t; init_script_file(cpucontrol_initrc_exec_t)