SELinux-Refpolicy Archive on lore.kernel.org
 help / 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, back to index

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

SELinux-Refpolicy Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux-refpolicy/0 selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ https://lore.kernel.org/selinux-refpolicy \
		selinux-refpolicy@vger.kernel.org selinux-refpolicy@archiver.kernel.org
	public-inbox-index selinux-refpolicy


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux-refpolicy


AGPL code for this site: git clone https://public-inbox.org/ public-inbox