瀏覽代碼

atop: allow management of log files

Helmut Pozimski 7 年之前
父節點
當前提交
066007f4ef
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      policy/modules/atop.te

+ 2 - 5
policy/modules/atop.te

@@ -1,4 +1,4 @@
-policy_module(atop, 0.1.17)
+policy_module(atop, 0.1.18)
 
 ########################################
 #
@@ -51,10 +51,7 @@ allow atop_t self:fifo_file { getattr ioctl read write };
 allow atop_t atopacct_t:sem { associate read unix_write write };
 
 manage_dirs_pattern(atop_t, atop_var_log_t, atop_var_log_t)
-append_files_pattern(atop_t, atop_var_log_t, atop_var_log_t)
-create_files_pattern(atop_t, atop_var_log_t, atop_var_log_t)
-setattr_files_pattern(atop_t, atop_var_log_t, atop_var_log_t)
-rw_files_pattern(atop_t, atop_var_log_t, atop_var_log_t)
+manage_files_pattern(atop_t, atop_var_log_t, atop_var_log_t)
 logging_log_filetrans(atop_t, atop_var_log_t, file)
 
 manage_dirs_pattern(atop_t, atop_var_cache_t, atop_var_cache_t)