From 34264caf221fc43e17aefeeda0d1115eb89655e0 Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Mon, 7 Feb 2022 18:27:52 +0100
Subject: [PATCH] Add the map permission to common_anon_inode_perm permission
 set

Reference: https://gitbub.com/fedora-selinux/selinux-policy/commit/34264caf221fc43e17aefeeda0d1115eb89655e0
Conflict: NA

Resolves: rhbz#2025714
Signed-off-by: lujie54 <lujie54@huawei.com>
---
 policy/support/obj_perm_sets.spt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/support/obj_perm_sets.spt b/policy/support/obj_perm_sets.spt
index 1a2108a..2b84320 100644
--- a/policy/support/obj_perm_sets.spt
+++ b/policy/support/obj_perm_sets.spt
@@ -280,7 +280,7 @@ define(`userfaultfd_anon_inode_perms',`
 #
 # Anonymous inode files (anon_inode)
 #
-define(`userfaultfd_anon_inode_perms',`{ create getattr ioctl read write }')
+define(`userfaultfd_anon_inode_perms',`{ create getattr ioctl map read write }')
 
 ########################################
 #
-- 
1.8.3.1

