trivial system cronjob

This commit is contained in:
Russell Coker 2019-01-14 22:36:53 +11:00 committed by Chris PeBenito
parent 2c96e2fb56
commit b1d309b42c
1 changed files with 2 additions and 0 deletions

View File

@ -439,6 +439,7 @@ optional_policy(`
optional_policy(`
init_dbus_chat(crond_t)
init_dbus_chat(system_cronjob_t)
systemd_dbus_chat_logind(system_cronjob_t)
systemd_write_inherited_logind_sessions_pipes(system_cronjob_t)
# so cron jobs can restart daemons
@ -518,6 +519,7 @@ corenet_udp_sendrecv_all_ports(system_cronjob_t)
dev_getattr_all_blk_files(system_cronjob_t)
dev_getattr_all_chr_files(system_cronjob_t)
dev_getattr_mtrr_dev(system_cronjob_t)
dev_read_urand(system_cronjob_t)
dev_read_sysfs(system_cronjob_t)
# for checkarray to write to sync_action