From: guido@trentalancia.com (Guido Trentalancia) Date: Wed, 16 Feb 2011 07:24:34 +0100 Subject: [refpolicy] [PATCH 21/34]: patch to allow smartmon to read usr files Message-ID: <1297837474.3205.79.camel@tesla.lan> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com This patch adds a permission to the smartmon module so that it can read usr files. diff -pruN -x booleans.conf -x corenetwork.if -x corenetwork.te -x modules.conf refpolicy-git-02022011/policy/modules/services/smartmon.te refpolicy-git-02022011-new/policy/modules/services/smartmon.te --- refpolicy-git-02022011/policy/modules/services/smartmon.te 2011-01-08 19:07:21.326754622 +0100 +++ refpolicy-git-02022011-new/policy/modules/services/smartmon.te 2011-01-26 01:40:05.807973354 +0100 @@ -73,6 +73,8 @@ files_read_etc_runtime_files(fsdaemon_t) # for config files_read_etc_files(fsdaemon_t) +files_read_usr_files(fsdaemon_t) + fs_getattr_all_fs(fsdaemon_t) fs_search_auto_mountpoints(fsdaemon_t)