Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/
Date: Sat, 03 Sep 2022 19:10:21
Message-Id: 1662230515.303b29dde89cf3974eb2efd6927b7664df3e20e6.perfinion@gentoo
1 commit: 303b29dde89cf3974eb2efd6927b7664df3e20e6
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Tue May 17 17:47:20 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=303b29dd
7
8 certbot: various fixes
9
10 Allow acme-sh to send syslog msgs and dontaudit reading /proc.
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/certbot.te | 3 +++
16 1 file changed, 3 insertions(+)
17
18 diff --git a/policy/modules/services/certbot.te b/policy/modules/services/certbot.te
19 index ac609795..9723f788 100644
20 --- a/policy/modules/services/certbot.te
21 +++ b/policy/modules/services/certbot.te
22 @@ -69,6 +69,7 @@ allow certbot_t certbot_log_t:file manage_file_perms;
23 manage_files_pattern(certbot_t, certbot_runtime_t, certbot_runtime_t)
24 files_runtime_filetrans(certbot_t, certbot_runtime_t, file)
25
26 +kernel_dontaudit_read_system_state(certbot_t)
27 kernel_search_fs_sysctls(certbot_t)
28
29 corecmd_list_bin(certbot_t)
30 @@ -108,6 +109,8 @@ userdom_use_user_ptys(certbot_t)
31 tunable_policy(`certbot_acmesh',`
32 corecmd_exec_bin(certbot_t)
33 corecmd_exec_shell(certbot_t)
34 +
35 + logging_send_syslog_msg(certbot_t)
36 ')
37
38 optional_policy(`