1 |
commit: 85d6a0dc23d32be6b29c25dfd4b5221346c05d52 |
2 |
Author: Chris PeBenito <Christopher.PeBenito <AT> microsoft <DOT> com> |
3 |
AuthorDate: Mon Jan 3 21:17:56 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 7 02:08:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=85d6a0dc |
7 |
|
8 |
systemd, ssh: Crypto sysctl use. |
9 |
|
10 |
Signed-off-by: Chris PeBenito <Christopher.PeBenito <AT> microsoft.com> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/modules/services/ssh.te | 1 + |
14 |
policy/modules/system/systemd.te | 2 ++ |
15 |
2 files changed, 3 insertions(+) |
16 |
|
17 |
diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te |
18 |
index 194e97f8..ce320c6a 100644 |
19 |
--- a/policy/modules/services/ssh.te |
20 |
+++ b/policy/modules/services/ssh.te |
21 |
@@ -339,6 +339,7 @@ allow ssh_keygen_t sshd_key_t:file manage_file_perms; |
22 |
files_etc_filetrans(ssh_keygen_t, sshd_key_t, file) |
23 |
|
24 |
kernel_read_kernel_sysctls(ssh_keygen_t) |
25 |
+kernel_read_crypto_sysctls(ssh_keygen_t) |
26 |
kernel_dontaudit_getattr_proc(ssh_keygen_t) |
27 |
kernel_dontaudit_read_system_state(ssh_keygen_t) |
28 |
|
29 |
|
30 |
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te |
31 |
index db8c9979..95939f0f 100644 |
32 |
--- a/policy/modules/system/systemd.te |
33 |
+++ b/policy/modules/system/systemd.te |
34 |
@@ -701,6 +701,8 @@ selinux_use_status_page(systemd_hw_t) |
35 |
init_read_state(systemd_hw_t) |
36 |
init_search_runtime(systemd_hw_t) |
37 |
|
38 |
+kernel_read_crypto_sysctls(systemd_hw_t) |
39 |
+ |
40 |
seutil_read_config(systemd_hw_t) |
41 |
seutil_read_file_contexts(systemd_hw_t) |