Chris PeBenito fa45da
Chris PeBenito 17ec8c
policy_module(aide, 1.5.0)
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 0bfccd
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 0bfccd
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 0bfccd
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 d5b81a
logging_send_audit_msgs(aide_t)
Chris PeBenito d5b81a
Chris PeBenito fa45da
seutil_use_newrole_fds(aide_t)
Chris PeBenito 296273
Chris PeBenito 296273
userdom_use_user_terminals(aide_t)