Give some systemd domain access to /proc/sys/kernel/random/boot_id
This commit is contained in:
parent
4d0610807f
commit
83b15c15b3
|
@ -129,6 +129,8 @@ kernel_dgram_send(systemd_cgroups_t)
|
||||||
# locale local policy
|
# locale local policy
|
||||||
#
|
#
|
||||||
|
|
||||||
|
kernel_read_kernel_sysctls(systemd_locale_t)
|
||||||
|
|
||||||
files_read_etc_files(systemd_locale_t)
|
files_read_etc_files(systemd_locale_t)
|
||||||
|
|
||||||
logging_send_syslog_msg(systemd_locale_t)
|
logging_send_syslog_msg(systemd_locale_t)
|
||||||
|
@ -145,6 +147,8 @@ optional_policy(`
|
||||||
# Hostnamed policy
|
# Hostnamed policy
|
||||||
#
|
#
|
||||||
|
|
||||||
|
kernel_read_kernel_sysctls(systemd_hostnamed_t)
|
||||||
|
|
||||||
files_read_etc_files(systemd_hostnamed_t)
|
files_read_etc_files(systemd_hostnamed_t)
|
||||||
|
|
||||||
logging_send_syslog_msg(systemd_hostnamed_t)
|
logging_send_syslog_msg(systemd_hostnamed_t)
|
||||||
|
@ -174,6 +178,8 @@ manage_fifo_files_pattern(systemd_logind_t, systemd_logind_var_run_t, systemd_lo
|
||||||
manage_files_pattern(systemd_logind_t, systemd_logind_var_run_t, systemd_logind_var_run_t)
|
manage_files_pattern(systemd_logind_t, systemd_logind_var_run_t, systemd_logind_var_run_t)
|
||||||
files_search_pids(systemd_logind_t)
|
files_search_pids(systemd_logind_t)
|
||||||
|
|
||||||
|
kernel_read_kernel_sysctls(systemd_logind_t)
|
||||||
|
|
||||||
auth_manage_faillog(systemd_logind_t)
|
auth_manage_faillog(systemd_logind_t)
|
||||||
|
|
||||||
dev_rw_sysfs(systemd_logind_t)
|
dev_rw_sysfs(systemd_logind_t)
|
||||||
|
@ -236,6 +242,8 @@ logging_send_syslog_msg(systemd_sessions_t)
|
||||||
allow systemd_tmpfiles_t self:capability { fowner chown fsetid dac_override mknod };
|
allow systemd_tmpfiles_t self:capability { fowner chown fsetid dac_override mknod };
|
||||||
allow systemd_tmpfiles_t self:process { setfscreate getcap };
|
allow systemd_tmpfiles_t self:process { setfscreate getcap };
|
||||||
|
|
||||||
|
kernel_read_kernel_sysctls(systemd_tmpfiles_t)
|
||||||
|
|
||||||
dev_relabel_all_sysfs(systemd_tmpfiles_t)
|
dev_relabel_all_sysfs(systemd_tmpfiles_t)
|
||||||
dev_read_urand(systemd_tmpfiles_t)
|
dev_read_urand(systemd_tmpfiles_t)
|
||||||
dev_manage_all_dev_nodes(systemd_tmpfiles_t)
|
dev_manage_all_dev_nodes(systemd_tmpfiles_t)
|
||||||
|
|
Loading…
Reference in New Issue