trivial aide fix from dan

This commit is contained in:
Chris PeBenito 2007-04-30 15:09:15 +00:00
parent f9029fc5b6
commit ae32fb7e7b
2 changed files with 3 additions and 2 deletions

View File

@ -2,4 +2,5 @@
/var/lib/aide(/.*) gen_context(system_u:object_r:aide_db_t,mls_systemhigh)
/var/log/aide(/.*)? gen_context(system_u:object_r:aide_log_t,mls_systemhigh)
/var/log/aide.log -- gen_context(system_u:object_r:aide_log_t,mls_systemhigh)

View File

@ -1,5 +1,5 @@
policy_module(aide,1.0.0)
policy_module(aide,1.0.1)
########################################
#
@ -32,7 +32,7 @@ send_audit_msgs_pattern(aide_t)
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)