commit:     0aa42eb04d9e3d1ed44fbbfa8ebb3f46f9031fc0
Author:     Chris PeBenito <pebenito <AT> ieee <DOT> org>
AuthorDate: Tue Jul  8 16:41:24 2025 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 08:04:54 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0aa42eb0

unconfined: Promote anon_inode access to full access.

This class inherits the file common.

Also see https://lore.kernel.org/selinux/48916a70-2a89-4d24-8e36-d15ccc112519 
<AT> ieee.org/

Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/modules/system/unconfined.if | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/policy/modules/system/unconfined.if 
b/policy/modules/system/unconfined.if
index 07fb19d04..45cb43907 100644
--- a/policy/modules/system/unconfined.if
+++ b/policy/modules/system/unconfined.if
@@ -50,8 +50,7 @@ interface(`unconfined_domain_noaudit',`
        # Write access is for setting attributes under /proc/self/attr.
        allow $1 self:file rw_file_perms;
 
-       # io_uring
-       allow $1 self:anon_inode { create map read write };
+       allow $1 self:anon_inode { manage_file_perms mounton quotaon 
relabel_file_perms watch watch_mount watch_reads watch_sb watch_with_perm }; 
#selint-disable:S-009
 
        # Userland object managers
        allow $1 self:nscd { admin getgrp gethost getpwd getserv getstat 
shmemgrp shmemhost shmempwd shmemserv };

Reply via email to