Skip to contentSkip to conversation

setroubleshoot changes for policy

DISCUSSION Christopher J. PeBenito 1 participant 1 message Mar 6, 2007 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 1 line · On Mon, 2007-02-26 at 12:42 -0500, [email protected] wrote:

setroubleshoot has a plugin that checks the file context on disk versus a matchpathcon. So needs additional privs

Merged.

Quoted 26 lines

===File /tmp/patches/done/nsaserefpolicy_policy_modules_services_setroubleshoot.patch===

policy/modules/services/setroubleshoot.te +4 -0
@@ -74,8 +74,10 @@
 files_read_usr_files(setroubleshootd_t)
 files_read_etc_files(setroubleshootd_t)
 files_getattr_all_dirs(setroubleshootd_t)
+files_getattr_all_files(setroubleshootd_t)
 
 selinux_get_enforce_mode(setroubleshootd_t)
+selinux_validate_context(setroubleshootd_t)
 
 term_dontaudit_use_console(setroubleshootd_t)
 term_dontaudit_use_all_user_ptys(setroubleshootd_t)
@@ -97,8 +99,10 @@
 logging_stream_connect_auditd(setroubleshootd_t)
 
 seutil_read_config(setroubleshootd_t)
+seutil_read_file_contexts(setroubleshootd_t)
 
 sysnet_read_config(setroubleshootd_t)
+userdom_dontaudit_read_sysadm_home_content_files(setroubleshootd_t)
 
 ifdef(`targeted_policy',`
 	term_dontaudit_use_generic_ptys(setroubleshootd_t)

============================================================

Signature · 10 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.