Skip to contentSkip to conversation

aide has a new directory

PATCH [email protected] 2 participants 2 messages Apr 20, 2007 – Apr 30, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/aide.fc +1 -0
@@ -3,3 +3,4 @@
 /var/lib/aide(/.*)		gen_context(system_u:object_r:aide_db_t,mls_systemhigh)
 
 /var/log/aide.log	--	gen_context(system_u:object_r:aide_log_t,mls_systemhigh)
+/var/log/aide(/.*)?		gen_context(system_u:object_r:aide_log_t,mls_systemhigh)
policy/modules/services/aide.te +1 -1
@@ -32,7 +32,7 @@
 manage_files_pattern(aide_t,aide_db_t,aide_db_t)
 
 # logs
-allow aide_t aide_log_t:file manage_file_perms;
+manage_files_pattern(aide_t, aide_log_t, aide_log_t)
 logging_log_filetrans(aide_t,aide_log_t,file)
 
 files_read_all_files(aide_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 10 lines · On Fri, 2007-04-20 at 15:28 -0400, [email protected] wrote:
policy/modules/services/aide.fc +1 -0
@@ -3,3 +3,4 @@
 /var/lib/aide(/.*)		gen_context(system_u:object_r:aide_db_t,mls_systemhigh)
 
 /var/log/aide.log	--	gen_context(system_u:object_r:aide_log_t,mls_systemhigh)
+/var/log/aide(/.*)?		gen_context(system_u:object_r:aide_log_t,mls_systemhigh)

policy/modules/services/aide.te line 38

Quoted 8 lines
policy/modules/services/aide.te +1 -1
@@ -32,7 +32,7 @@
 manage_files_pattern(aide_t,aide_db_t,aide_db_t)
 
 # logs
-allow aide_t aide_log_t:file manage_file_perms;
+manage_files_pattern(aide_t, aide_log_t, aide_log_t)
 logging_log_filetrans(aide_t,aide_log_t,file)
 
 files_read_all_files(aide_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.