logging: Add audit_control for journald.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2021-09-01 20:28:21 +00:00 committed by Chris PeBenito
parent 580c3da195
commit 51d0d6d15e
1 changed files with 1 additions and 0 deletions

View File

@ -517,6 +517,7 @@ userdom_dontaudit_search_user_home_dirs(syslogd_t)
ifdef(`init_systemd',`
# for systemd-journal
allow syslogd_t self:capability audit_control;
allow syslogd_t self:netlink_audit_socket connected_socket_perms;
allow syslogd_t self:capability2 audit_read;
allow syslogd_t self:capability { chown setgid setuid sys_ptrace };