Skip to contentSkip to conversation

: patch to allow smartmon to read usr files

PATCH New Guido Trentalancia 2 participants 2 messages Feb 16, 2011 – Feb 28, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 21/34 : patch to allow smartmon to read usr files

This patch adds a permission to the smartmon module so that it can read usr files.

policy/modules/services/smartmon.te +2 -0
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
@@ -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)
 
#1 lore raw

PATCH 21/34 : patch to allow smartmon to read usr files

Quoted 7 lines · Guido Trentalancia

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

policy/modules/services/smartmon.te files_read_etc_runtime_files(fsdaemon_t) · line 79

Quoted 7 lines
policy/modules/services/smartmon.te +2 -0
@@ -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)

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com