tpm2-abrmd/backport-call-init_nnp_daemon_domain-for-domain-to-allow.patch
jiawenhao 60524adac2 selinux: call init_nnp_daemon_domain for domain to allow for systemd
7533130a5e

Signed-off-by: jiawenhao <jiawenhao@xfusion.com>
(cherry picked from commit f41b8de6f8aa2be82962ec306222618113e2167a)
2025-04-29 16:19:36 +08:00

26 lines
715 B
Diff

From 2740de19da2153df8eb0e2ab0a98544e7db2d7da Mon Sep 17 00:00:00 2001
From: jiawenhao <jiawenhao@xfusion.com>
Date: Sun, 20 Apr 2025 09:33:56 +0800
Subject: [PATCH] call-init_nnp_daemon_domain-for-domain-to-allow-for-systemd
---
selinux/tabrmd.te | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/selinux/tabrmd.te b/selinux/tabrmd.te
index 8996a46..efd2336 100644
--- a/selinux/tabrmd.te
+++ b/selinux/tabrmd.te
@@ -9,7 +9,7 @@ gen_tunable(`tabrmd_connect_all_unreserved', false)
type tabrmd_t;
type tabrmd_exec_t;
-init_daemon_domain(tabrmd_t, tabrmd_exec_t)
+init_nnp_daemon_domain(tabrmd_t, tabrmd_exec_t)
allow tabrmd_t self:unix_dgram_socket { create_socket_perms };
--
2.43.0