selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] trivial system cronjob
@ 2019-01-14 11:36 Russell Coker
  2019-01-14 22:43 ` Chris PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2019-01-14 11:36 UTC (permalink / raw)
  To: selinux-refpolicy


Index: refpolicy-2.20180701/policy/modules/services/cron.te
===================================================================
--- refpolicy-2.20180701.orig/policy/modules/services/cron.te
+++ refpolicy-2.20180701/policy/modules/services/cron.te
@@ -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_cr
 
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial system cronjob
  2019-01-14 11:36 [PATCH] trivial system cronjob Russell Coker
@ 2019-01-14 22:43 ` Chris PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2019-01-14 22:43 UTC (permalink / raw)
  To: Russell Coker, selinux-refpolicy

On 1/14/19 6:36 AM, Russell Coker wrote:
> 
> Index: refpolicy-2.20180701/policy/modules/services/cron.te
> ===================================================================
> --- refpolicy-2.20180701.orig/policy/modules/services/cron.te
> +++ refpolicy-2.20180701/policy/modules/services/cron.te
> @@ -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_cr
>   
>   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

Merged.

-- 
Chris PeBenito

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-14 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 11:36 [PATCH] trivial system cronjob Russell Coker
2019-01-14 22:43 ` Chris PeBenito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).