diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index 7cdb65d583..9189e167c0 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -1226,7 +1226,8 @@ systemd_read_efivarfs(systemd_sysctl_t) # sys_ptrace - to read /proc//exe of the dumped process # setgid setuid - to set own credentials to match the dumped process credentials # setpcap - to drop capabilities -allow systemd_coredump_t self:capability { dac_read_search net_admin setgid setpcap setuid sys_admin sys_ptrace sys_resource }; +allow systemd_coredump_t self:capability { dac_read_search net_admin setgid setpcap setuid sys_ptrace }; +dontaudit systemd_coredump_t self:capability sys_resource; allow systemd_coredump_t self:cap_userns { dac_read_search dac_override sys_admin sys_ptrace }; # To set its capability set