From 174740ce047312bb8e3ca19b3ee95766f0dc55b4 Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Tue, 7 Dec 2021 15:17:15 +0100
Subject: [PATCH] Allow rhsmcertd get attributes of tmpfs_t filesystems

Reference: https://gitbub.com/fedora-selinux/selinux-policy/commit/174740ce047312bb8e3ca19b3ee95766f0dc55b4
Conflict: NA

Resolves: rhbz#2015820
Signed-off-by: lujie54 <lujie54@huawei.com>
---
 policy/modules/contrib/rhsmcertd.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/rhsmcertd.te b/policy/modules/contrib/rhsmcertd.te
index abd3227..7ebff7b 100644
--- a/policy/modules/contrib/rhsmcertd.te
+++ b/policy/modules/contrib/rhsmcertd.te
@@ -101,6 +101,7 @@ files_create_boot_flag(rhsmcertd_t)
 files_dontaudit_write_all_mountpoints(rhsmcertd_t)
 
 fs_dontaudit_write_configfs_dirs(rhsmcertd_t)
+fs_getattr_tmpfs(rhsmcertd_t)
 fs_read_xenfs_files(rhsmcertd_t)
 
 auth_map_passwd(rhsmcertd_t)
-- 
1.8.3.1

