Change patch which fixing loading modules by systemd-modules-load
This commit is contained in:
parent
3478003247
commit
11c85171be
@ -48905,10 +48905,10 @@ index 0000000..16cd1ac
|
|||||||
+')
|
+')
|
||||||
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
|
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..8654fdf
|
index 0000000..6012445
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/policy/modules/system/systemd.te
|
+++ b/policy/modules/system/systemd.te
|
||||||
@@ -0,0 +1,965 @@
|
@@ -0,0 +1,964 @@
|
||||||
+policy_module(systemd, 1.0.0)
|
+policy_module(systemd, 1.0.0)
|
||||||
+
|
+
|
||||||
+#######################################
|
+#######################################
|
||||||
@ -49817,7 +49817,7 @@ index 0000000..8654fdf
|
|||||||
+
|
+
|
||||||
+optional_policy(`
|
+optional_policy(`
|
||||||
+ dbus_system_bus_client(systemd_resolved_t)
|
+ dbus_system_bus_client(systemd_resolved_t)
|
||||||
+ dbus_acquire_svc_system_dbusd(systemd_resolved_t)
|
+ dbus_connect_system_bus(systemd_resolved_t)
|
||||||
+')
|
+')
|
||||||
+
|
+
|
||||||
+########################################
|
+########################################
|
||||||
@ -49865,9 +49865,8 @@ index 0000000..8654fdf
|
|||||||
+# systemd_modules_load domain
|
+# systemd_modules_load domain
|
||||||
+#
|
+#
|
||||||
+
|
+
|
||||||
+allow systemd_modules_load_t self:capability sys_module;
|
|
||||||
+
|
|
||||||
+kernel_dgram_send(systemd_modules_load_t)
|
+kernel_dgram_send(systemd_modules_load_t)
|
||||||
|
+kernel_load_module(systmed_modules_load_t)
|
||||||
+
|
+
|
||||||
+dev_read_sysfs(systemd_modules_load_t)
|
+dev_read_sysfs(systemd_modules_load_t)
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user