Fix in SELinux interface file a typo

In name of interface in SELinux policy is
typo issue.
b2b0795796

Signed-off-by: jiawenhao <jiawenhao@xfusion.com>
(cherry picked from commit 0d9170a442870c69e22df1a8725ff0a71d2e5b1d)
This commit is contained in:
jiawenhao 2025-04-18 15:46:24 +08:00 committed by openeuler-sync-bot
parent 9d8ce94cd4
commit e1d240eb58
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 259f00ee59c98d97ce218143ca073066dac60d1f Mon Sep 17 00:00:00 2001
From: jiawenhao <jiawenhao@xfusion.com>
Date: Fri, 18 Apr 2025 15:39:06 +0800
Subject: [PATCH] fix-in-SELinux-interface-file-a-typo
---
selinux/tabrmd.if | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/selinux/tabrmd.if b/selinux/tabrmd.if
index c04eca0..81c7853 100644
--- a/selinux/tabrmd.if
+++ b/selinux/tabrmd.if
@@ -29,7 +29,7 @@ interface(`tabrmd_create_unix_stream_sockets',`
## </summary>
## </param>
#
-interface(`tabr,d_dbus_chat',`
+interface(`tabrmd_dbus_chat',`
gen_require(`
type tabrmd_t;
class dbus send_msg;
--
2.27.0

View File

@ -2,13 +2,14 @@
Name: tpm2-abrmd
Version: 3.0.0
Release: 4
Release: 5
Summary: A system daemon implementing the TPM2 access broker (TAB) & Resource Manager (RM) spec from the TCG
License: BSD
URL: https://github.com/tpm2-software/tpm2-abrmd
Source0: https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch3001: Hygon-Add-support-for-TCM-devices.patch
Patch3002: backport-fix-in-SELinux-interface-file-a-typo.patch
BuildRequires: systemd pkgconfig(cmocka) pkgconfig(dbus-1) pkgconfig(gio-unix-2.0) pkgconfig(tss2-mu) pkgconfig(tss2-sys)
BuildRequires: tpm2-tss-devel >= 2.4.0 libtool autoconf-archive libgcrypt libgcrypt-devel
@ -138,6 +139,12 @@ fi
%{_datadir}/selinux/packages/tabrmd.pp.bz2
%changelog
* Fri Apr 18 2025 jiawenhao <jiawenhao@xfusion.com> - 3.0.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: Fix in SELinux interface file a typo
* Thu Nov 07 2024 liningjie <liningjie@xfusion.com> - 3.0.0-4
- Type:bugfix
- ID:NA