commit:     f51734fce8fa91c19540d6da00ffd33fdb4a8327
Author:     Kenton Groombridge <me <AT> concord <DOT> sh>
AuthorDate: Mon Mar  6 15:40:53 2023 +0000
Commit:     Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 17:11:32 2023 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f51734fc

logging: allow systemd-journald to list cgroups

Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>

 policy/modules/system/logging.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te
index 69b7aa41f..aa436b639 100644
--- a/policy/modules/system/logging.te
+++ b/policy/modules/system/logging.te
@@ -548,6 +548,8 @@ ifdef(`init_systemd',`
        domain_getattr_all_domains(syslogd_t)
        domain_read_all_domains_state(syslogd_t)
 
+       fs_list_cgroup_dirs(syslogd_t)
+
        init_create_runtime_dirs(syslogd_t)
        init_daemon_runtime_file(syslogd_runtime_t, dir, "syslogd")
        init_getattr(syslogd_t)

Reply via email to