* [refpolicy] [PATCH 1/1] Allow modprobe to request module load
@ 2011-02-06 14:27 Sven Vermeulen
2011-02-09 14:43 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-02-06 14:27 UTC (permalink / raw)
To: refpolicy
The modprobe utility is sometimes used (for instance for ALSA) to request
the Linux kernel to load a module (through aliases) rather than explicitly
loading the module.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/system/modutils.te | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te
index 74a4466..882b50c 100644
--- a/policy/modules/system/modutils.te
+++ b/policy/modules/system/modutils.te
@@ -119,6 +119,7 @@ read_files_pattern(insmod_t, modules_dep_t, modules_dep_t)
can_exec(insmod_t, insmod_exec_t)
kernel_load_module(insmod_t)
+kernel_request_load_module(insmod_t)
kernel_read_system_state(insmod_t)
kernel_read_network_state(insmod_t)
kernel_write_proc_files(insmod_t)
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH 1/1] Allow modprobe to request module load
2011-02-06 14:27 [refpolicy] [PATCH 1/1] Allow modprobe to request module load Sven Vermeulen
@ 2011-02-09 14:43 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-02-09 14:43 UTC (permalink / raw)
To: refpolicy
On 2/6/2011 9:27 AM, Sven Vermeulen wrote:
> The modprobe utility is sometimes used (for instance for ALSA) to request
> the Linux kernel to load a module (through aliases) rather than explicitly
> loading the module.
Merged.
> Signed-off-by: Sven Vermeulen<sven.vermeulen@siphos.be>
> ---
> policy/modules/system/modutils.te | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te
> index 74a4466..882b50c 100644
> --- a/policy/modules/system/modutils.te
> +++ b/policy/modules/system/modutils.te
> @@ -119,6 +119,7 @@ read_files_pattern(insmod_t, modules_dep_t, modules_dep_t)
> can_exec(insmod_t, insmod_exec_t)
>
> kernel_load_module(insmod_t)
> +kernel_request_load_module(insmod_t)
> kernel_read_system_state(insmod_t)
> kernel_read_network_state(insmod_t)
> kernel_write_proc_files(insmod_t)
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-09 14:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-06 14:27 [refpolicy] [PATCH 1/1] Allow modprobe to request module load Sven Vermeulen
2011-02-09 14:43 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.