26 lines
930 B
Diff
26 lines
930 B
Diff
From 52211f802fa1a34f22fca6acbc5a6dd5119d0f8e Mon Sep 17 00:00:00 2001
|
|
From: lujie42 <lujie42@huawei.com>
|
|
Date: Mon, 28 Feb 2022 11:59:33 +0800
|
|
Subject: [PATCH] fix context of /usr/bin/rpmdb
|
|
|
|
Signed-off-by: lujie42 <lujie42@huawei.com>
|
|
---
|
|
policy/modules/contrib/rpm.fc | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/policy/modules/contrib/rpm.fc b/policy/modules/contrib/rpm.fc
|
|
index 8a5a4ad..2db8826 100644
|
|
--- a/policy/modules/contrib/rpm.fc
|
|
+++ b/policy/modules/contrib/rpm.fc
|
|
@@ -8,7 +8,6 @@
|
|
/usr/bin/dnf-automatic -- gen_context(system_u:object_r:rpm_exec_t,s0)
|
|
/usr/bin/dnf-[0-9]+ -- gen_context(system_u:object_r:rpm_exec_t,s0)
|
|
/usr/bin/rpm -- gen_context(system_u:object_r:rpm_exec_t,s0)
|
|
-/usr/bin/rpmdb -- gen_context(system_u:object_r:rpmdb_exec_t,s0)
|
|
/usr/bin/smart -- gen_context(system_u:object_r:rpm_exec_t,s0)
|
|
|
|
/bin/yum-builddep -- gen_context(system_u:object_r:rpm_exec_t,s0)
|
|
--
|
|
1.8.3.1
|
|
|