From 071537fab5172864c84bcb5b1e9a9c7fc21c6b69 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 2 Oct 2012 10:08:09 -0400 Subject: [PATCH] split kmod fc into two lines. --- policy/modules/system/modutils.fc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/modutils.fc b/policy/modules/system/modutils.fc index 31f1378f8..993367709 100644 --- a/policy/modules/system/modutils.fc +++ b/policy/modules/system/modutils.fc @@ -1,3 +1,4 @@ +/bin/kmod -- gen_context(system_u:object_r:insmod_exec_t,s0) /etc/modules\.conf.* -- gen_context(system_u:object_r:modules_conf_t,s0) /etc/modprobe\.conf.* -- gen_context(system_u:object_r:modules_conf_t,s0) @@ -21,4 +22,4 @@ ifdef(`distro_gentoo',` /sbin/rmmod.* -- gen_context(system_u:object_r:insmod_exec_t,s0) /sbin/update-modules -- gen_context(system_u:object_r:update_modules_exec_t,s0) -/(usr/)?bin/kmod -- gen_context(system_u:object_r:insmod_exec_t,s0) +/usr/bin/kmod -- gen_context(system_u:object_r:insmod_exec_t,s0)