From: guido@trentalancia.com (Guido Trentalancia) Date: Wed, 16 Feb 2011 07:11:47 +0100 Subject: [refpolicy] [PATCH 11/34]: patch to allow consolekit shutdown the system Message-ID: <1297836707.3205.53.camel@tesla.lan> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com This patch adds some permissions needed to shutdown the system using the graphical interface. diff -pruN -x booleans.conf -x corenetwork.if -x corenetwork.te -x modules.conf refpolicy-git-02022011/policy/modules/services/consolekit.te refpolicy-git-02022011-new/policy/modules/services/consolekit.te --- refpolicy-git-02022011/policy/modules/services/consolekit.te 2011-01-08 19:07:21.232739776 +0100 +++ refpolicy-git-02022011-new/policy/modules/services/consolekit.te 2011-01-26 01:40:05.845983864 +0100 @@ -118,6 +118,10 @@ optional_policy(` ') optional_policy(` + shutdown_getattr_exec_files(consolekit_t) +') + +optional_policy(` udev_domtrans(consolekit_t) udev_read_db(consolekit_t) udev_signal(consolekit_t)