32 строки
902 B
Diff
32 строки
902 B
Diff
From 688fbdc64a05083b7a3411faf6472a579563967e Mon Sep 17 00:00:00 2001
|
|
From: Chris PeBenito <Christopher.PeBenito@microsoft.com>
|
|
Date: Thu, 7 Jul 2022 13:58:15 +0000
|
|
Subject: [PATCH 08/35] kernel: hv_utils shutdown on systemd systems.
|
|
|
|
Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
|
|
---
|
|
policy/modules/kernel/kernel.te | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
MSFT_TAG: needs investigation, may need more policy.
|
|
|
|
diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
|
|
index 5124ae016..1f31200b6 100644
|
|
--- a/policy/modules/kernel/kernel.te
|
|
+++ b/policy/modules/kernel/kernel.te
|
|
@@ -380,6 +380,11 @@ ifdef(`init_systemd',`
|
|
dev_filetrans_input_dev(kernel_t)
|
|
')
|
|
|
|
+ optional_policy(`
|
|
+ systemd_start_power_units(kernel_t)
|
|
+ systemd_status_power_units(kernel_t)
|
|
+ ')
|
|
+
|
|
optional_policy(`
|
|
selinux_compute_create_context(kernel_t)
|
|
')
|
|
--
|
|
2.34.1
|
|
|