Restrict the cpucontrol_conf_t label
PATCH 1/2 Restrict the cpucontrol_conf_t label
Restrict the cpucontrol_conf_t label to the CPU microcode data files only.
This patch should be applied together with another patch which creates the proper lib_t label for other files under directory /lib/firmware.
Signed-off-by Guido Trentalancia <[email protected]>
--- policy/modules/contrib/cpucontrol.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
policy/modules/contrib/cpucontrol.fc +1 -1
@@ -1,4 +1,4 @@ -/lib/firmware/.* -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) +/lib/firmware/microcode.*\.dat -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) /etc/rc\.d/init\.d/microcode -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) /sbin/microcode_ctl -- gen_context(system_u:object_r:cpucontrol_exec_t,s0)
PATCH 1/2 Restrict the cpucontrol_conf_t label
Quoted 13 lines · Guido Trentalancia
Restrict the
cpucontrol_conf_tlabel to the CPU microcode data files only.This patch should be applied together with another patch which creates the proper
lib_tlabel for other files under directory/lib/firmware.Signed-off-by Guido Trentalancia <[email protected]>--- policy/modules/contrib/cpucontrol.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
policy/modules/contrib/cpucontrol.fc line 4
Quoted 5 lines
policy/modules/contrib/cpucontrol.fc +1
-1@@ -1,4 +1,4 @@ -/lib/firmware/.* -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) +/lib/firmware/microcode.*\.dat -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) /etc/rc\.d/init\.d/microcode -- gen_context(system_u:object_r:cpucontrol_conf_t,s0) /sbin/microcode_ctl -- gen_context(system_u:object_r:cpucontrol_exec_t,s0)
I manually applied this patch.
Signature · 1 line
Chris PeBenito