1 |
commit: 40c53693a742b096caf7a3ad8c2e3e942a7be537 |
2 |
Author: Chris PeBenito <chpebeni <AT> linux <DOT> microsoft <DOT> com> |
3 |
AuthorDate: Thu Jun 23 19:06:27 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 3 18:41:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=40c53693 |
7 |
|
8 |
mcs: Add missing process permission constraints. |
9 |
|
10 |
Signed-off-by: Chris PeBenito <chpebeni <AT> linux.microsoft.com> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/mcs | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/policy/mcs b/policy/mcs |
17 |
index 039ed224..fa505d3d 100644 |
18 |
--- a/policy/mcs |
19 |
+++ b/policy/mcs |
20 |
@@ -83,7 +83,7 @@ mlsconstrain { file lnk_file fifo_file } { create relabelto } |
21 |
( t1 != mcs_constrained_type )); |
22 |
|
23 |
|
24 |
-mlsconstrain process { transition dyntransition ptrace sigkill sigstop signal } |
25 |
+mlsconstrain process { transition dyntransition ptrace sigkill sigstop signal getsession getattr getsched setsched getrlimit setrlimit getpgid setpgid getcap setcap share setexec setfscreate setcurrent setsockcreate } |
26 |
(( h1 dom h2 ) or ( t1 != mcs_constrained_type )); |
27 |
|
28 |
mlsconstrain socket_class_set { create ioctl read write setattr append bind connect getopt setopt shutdown } |