From 4597baeb9cb214220b3fb8807c6a52c05451515fc9c31987b67649a9e5ca108f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 9 Aug 2024 18:38:26 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main tpm2.0-abrmd revision 43a0f42431444e9afa7a056d4828939d --- harden_tpm2-abrmd.service.patch | 19 ++++++++++++++++--- tpm2.0-abrmd.changes | 6 ++++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/harden_tpm2-abrmd.service.patch b/harden_tpm2-abrmd.service.patch index 7720a35..a0cf1c5 100644 --- a/harden_tpm2-abrmd.service.patch +++ b/harden_tpm2-abrmd.service.patch @@ -1,7 +1,7 @@ -Index: tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in +Index: tpm2-abrmd-3.0.0/dist/tpm2-abrmd.service.in =================================================================== ---- tpm2-abrmd-2.4.0.orig/dist/tpm2-abrmd.service.in -+++ tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in +--- tpm2-abrmd-3.0.0.orig/dist/tpm2-abrmd.service.in ++++ tpm2-abrmd-3.0.0/dist/tpm2-abrmd.service.in @@ -6,6 +6,17 @@ After=dev-tpm0.device Requires=dev-tpm0.device @@ -20,3 +20,16 @@ Index: tpm2-abrmd-2.4.0/dist/tpm2-abrmd.service.in Type=dbus BusName=com.intel.tss2.Tabrmd ExecStart=@SBINDIR@/tpm2-abrmd +Index: tpm2-abrmd-3.0.0/selinux/tabrmd.te +=================================================================== +--- tpm2-abrmd-3.0.0.orig/selinux/tabrmd.te ++++ tpm2-abrmd-3.0.0/selinux/tabrmd.te +@@ -9,7 +9,7 @@ gen_tunable(`tabrmd_connect_all_unreserv + + 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 }; + diff --git a/tpm2.0-abrmd.changes b/tpm2.0-abrmd.changes index cb861a8..e998e0e 100644 --- a/tpm2.0-abrmd.changes +++ b/tpm2.0-abrmd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 1 09:46:26 UTC 2024 - Johannes Segitz + +- Update harden_tpm2-abrmd.service.patch to contain necessary SELinux + changes (bsc#1209831) + ------------------------------------------------------------------- Tue May 23 12:31:21 UTC 2023 - Alberto Planas Dominguez