Blame policy/modules/services/aide.te
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
ee6608 |
policy_module(aide,1.3.1)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
########################################
|
|
Chris PeBenito |
fa45da |
#
|
|
Chris PeBenito |
fa45da |
# Declarations
|
|
Chris PeBenito |
fa45da |
#
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
type aide_t;
|
|
Chris PeBenito |
fa45da |
type aide_exec_t;
|
|
Chris PeBenito |
d46cfe |
application_domain(aide_t,aide_exec_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
# log files
|
|
Chris PeBenito |
fa45da |
type aide_log_t;
|
|
Chris PeBenito |
fa45da |
logging_log_file(aide_log_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
# aide database
|
|
Chris PeBenito |
fa45da |
type aide_db_t;
|
|
Chris PeBenito |
fa45da |
files_type(aide_db_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
########################################
|
|
Chris PeBenito |
fa45da |
#
|
|
Chris PeBenito |
fa45da |
# aide local policy
|
|
Chris PeBenito |
fa45da |
#
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
allow aide_t self:capability { dac_override fowner };
|
|
Chris PeBenito |
c0868a |
|
|
Chris PeBenito |
fa45da |
# database actions
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(aide_t,aide_db_t,aide_db_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
# logs
|
|
Chris PeBenito |
ae32fb |
manage_files_pattern(aide_t, aide_log_t, aide_log_t)
|
|
Chris PeBenito |
c0868a |
logging_log_filetrans(aide_t,aide_log_t,file)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
files_read_all_files(aide_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
fa45da |
libs_use_ld_so(aide_t)
|
|
Chris PeBenito |
fa45da |
libs_use_shared_libs(aide_t)
|
|
Chris PeBenito |
fa45da |
|
|
Chris PeBenito |
d5b81a |
logging_send_audit_msgs(aide_t)
|
|
Chris PeBenito |
d5b81a |
|
|
Chris PeBenito |
fa45da |
seutil_use_newrole_fds(aide_t)
|