commit:     294b186e685633cbaf8c35886574fba4d6a6693f
Author:     Chris PeBenito <Christopher.PeBenito <AT> microsoft <DOT> com>
AuthorDate: Fri May 24 18:38:51 2019 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 06:43:14 2019 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=294b186e

systemd: modules-load updates.

Signed-off-by: Chris PeBenito <Christopher.PeBenito <AT> microsoft.com>
Signed-off-by: Jason Zaman <jason <AT> perfinion.com>

 policy/modules/system/systemd.te | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index 29d5d4fc..a08ee785 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -623,11 +623,14 @@ optional_policy(`
 # modules-load local policy
 #
 
-files_load_kernel_modules(systemd_modules_load_t)
+kernel_load_module(systemd_modules_load_t)
+
 files_read_etc_files(systemd_modules_load_t)
 
-init_read_state(systemd_modules_load_t)
-init_search_run(systemd_modules_load_t)
+modutils_read_module_config(systemd_modules_load_t)
+modutils_read_module_deps(systemd_modules_load_t)
+
+systemd_log_parse_environment(systemd_modules_load_t)
 
 ########################################
 #

Reply via email to