Skip to contentSkip to conversation

Allow modprobe to request module load

PATCH New Sven Vermeulen 2 participants 2 messages Feb 6, 2011 – Feb 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow modprobe to request module load

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.

---
 policy/modules/system/modutils.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/system/modutils.te +1 -0
index 74a4466..882b50c 100644
@@ -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)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 Allow modprobe to request module load

Quoted 3 lines · Sven Vermeulen

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.

Quoted 17 lines
---
  policy/modules/system/modutils.te |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/system/modutils.te +1 -0
index 74a4466..882b50c 100644
@@ -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)
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com