1 |
commit: 16711830e9075fd6d36b32875cde26c286a98b5d |
2 |
Author: Kenton Groombridge <me <AT> concord <DOT> sh> |
3 |
AuthorDate: Mon Jan 24 16:08:50 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 01:15:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=16711830 |
7 |
|
8 |
container: allow containers to getsession |
9 |
|
10 |
Found to be required by a jellyfin container when testing. |
11 |
|
12 |
Signed-off-by: Kenton Groombridge <me <AT> concord.sh> |
13 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
14 |
|
15 |
policy/modules/services/container.te | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/policy/modules/services/container.te b/policy/modules/services/container.te |
19 |
index 1291768c..d5f79b15 100644 |
20 |
--- a/policy/modules/services/container.te |
21 |
+++ b/policy/modules/services/container.te |
22 |
@@ -150,7 +150,7 @@ corenet_port(container_port_t) |
23 |
|
24 |
allow container_domain self:capability { dac_override kill setgid setuid sys_boot sys_chroot }; |
25 |
allow container_domain self:cap_userns { chown dac_override fowner setgid setuid }; |
26 |
-allow container_domain self:process { execstack execmem getattr signal_perms getsched setsched setcap setpgid }; |
27 |
+allow container_domain self:process { execstack execmem getattr getsched getsession setsched setcap setpgid signal_perms }; |
28 |
allow container_domain self:fifo_file manage_fifo_file_perms; |
29 |
allow container_domain self:sem create_sem_perms; |
30 |
allow container_domain self:shm create_shm_perms; |