Skip to contentSkip to conversation

apps_slocate changes

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 12, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

locates generates avc messages without these rules

policy/modules/apps/slocate.te +3 -1
@@ -39,11 +39,13 @@
 
 files_list_all(locate_t)
 files_getattr_all_files(locate_t)
+files_getattr_all_sockets(locate_t)
 files_read_etc_runtime_files(locate_t)
 files_read_etc_files(locate_t)
 
 fs_getattr_all_fs(locate_t)
-fs_getattr_all_dirs(locate_t)
+fs_getattr_all_files(locate_t)
+fs_list_all(locate_t)
 
 libs_use_shared_libs(locate_t)
 libs_use_ld_so(locate_t)

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 9 lines · On Wed, 2007-05-30 at 11:22 -0400, [email protected] wrote:

locates generates avc messages without these rules

policy/modules/apps/slocate.te +1 -0
@@ -39,11 +39,13 @@
 
 files_list_all(locate_t)
 files_getattr_all_files(locate_t)
+files_getattr_all_sockets(locate_t)

policy/modules/apps/slocate.te line 51

Quoted 10 lines
policy/modules/apps/slocate.te +2 -1
 files_read_etc_runtime_files(locate_t)
 files_read_etc_files(locate_t)
 
 fs_getattr_all_fs(locate_t)
-fs_getattr_all_dirs(locate_t)
+fs_getattr_all_files(locate_t)
+fs_list_all(locate_t)
 
 libs_use_shared_libs(locate_t)
 libs_use_ld_so(locate_t)

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.