commit:     40c53693a742b096caf7a3ad8c2e3e942a7be537
Author:     Chris PeBenito <chpebeni <AT> linux <DOT> microsoft <DOT> com>
AuthorDate: Thu Jun 23 19:06:27 2022 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Sep  3 18:41:55 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=40c53693

mcs: Add missing process permission constraints.

Signed-off-by: Chris PeBenito <chpebeni <AT> linux.microsoft.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/mcs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/mcs b/policy/mcs
index 039ed224..fa505d3d 100644
--- a/policy/mcs
+++ b/policy/mcs
@@ -83,7 +83,7 @@ mlsconstrain { file lnk_file fifo_file } { create relabelto }
         ( t1 != mcs_constrained_type ));
 
 
-mlsconstrain process { transition dyntransition ptrace sigkill sigstop signal }
+mlsconstrain process { transition dyntransition ptrace sigkill sigstop signal 
getsession getattr getsched setsched getrlimit setrlimit getpgid setpgid getcap 
setcap share setexec setfscreate setcurrent setsockcreate }
        (( h1 dom h2 ) or ( t1 != mcs_constrained_type ));
 
 mlsconstrain socket_class_set { create ioctl read write setattr append bind 
connect getopt setopt shutdown }

Reply via email to