1 |
commit: 07995718de36b9b849fa92fcbfca9ce7716a4d3d |
2 |
Author: Kenton Groombridge <me <AT> concord <DOT> sh> |
3 |
AuthorDate: Thu Mar 31 19:09:45 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 19:28:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=07995718 |
7 |
|
8 |
container: allow generic containers to read the vm_overcommit sysctl |
9 |
|
10 |
Signed-off-by: Kenton Groombridge <me <AT> concord.sh> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/modules/services/container.te | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/policy/modules/services/container.te b/policy/modules/services/container.te |
17 |
index 3d623229..d7d27d7c 100644 |
18 |
--- a/policy/modules/services/container.te |
19 |
+++ b/policy/modules/services/container.te |
20 |
@@ -333,6 +333,8 @@ files_read_kernel_modules(container_t) |
21 |
fs_mount_cgroup(container_t) |
22 |
fs_rw_cgroup_files(container_t) |
23 |
|
24 |
+kernel_read_vm_overcommit_sysctl(container_t) |
25 |
+ |
26 |
auth_use_nsswitch(container_t) |
27 |
|
28 |
logging_send_audit_msgs(container_t) |