All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Allow xdm_t to transition to shutdown_t domain
@ 2014-06-04 15:12 Luis Ressel
  2014-06-09 15:00 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Ressel @ 2014-06-04 15:12 UTC (permalink / raw)
  To: refpolicy

Several DMs offer the possibility to shutdown the system. I personally
don't think a bool is neccessary for this permission, but I wouldn't
oppose one either.
---
 policy/modules/services/xserver.te | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te
index f81fcac..30e544c 100644
--- a/policy/modules/services/xserver.te
+++ b/policy/modules/services/xserver.te
@@ -559,6 +559,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+	shutdown_domtrans(xdm_t)
+')
+
+optional_policy(`
 	udev_read_db(xdm_t)
 ')
 
-- 
2.0.0

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

end of thread, other threads:[~2014-06-09 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 15:12 [refpolicy] [PATCH] Allow xdm_t to transition to shutdown_t domain Luis Ressel
2014-06-09 15:00 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.