forked from fedora-selinux/selinux-policy-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aide.te
63 lines (46 loc) · 1.24 KB
/
aide.te
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
policy_module(aide, 1.7.1)
########################################
#
# Declarations
#
attribute_role aide_roles;
type aide_t;
type aide_exec_t;
application_domain(aide_t, aide_exec_t)
cron_system_entry(aide_t, aide_exec_t)
role aide_roles types aide_t;
type aide_log_t;
logging_log_file(aide_log_t)
type aide_db_t;
files_type(aide_db_t)
########################################
#
# Local policy
#
allow aide_t self:capability { dac_read_search fowner ipc_lock sys_admin };
allow aide_t self:process signal;
manage_files_pattern(aide_t, aide_db_t, aide_db_t)
files_var_lib_filetrans(aide_t, aide_db_t, { dir file })
manage_files_pattern(aide_t, aide_log_t, aide_log_t)
logging_log_filetrans(aide_t, aide_log_t, file)
dev_read_rand(aide_t)
dev_read_urand(aide_t)
files_read_all_files(aide_t)
files_read_all_symlinks(aide_t)
files_getattr_all_pipes(aide_t)
files_getattr_all_sockets(aide_t)
files_mmap_usr_files(aide_t)
mls_file_read_to_clearance(aide_t)
mls_file_write_to_clearance(aide_t)
logging_send_audit_msgs(aide_t)
logging_send_syslog_msg(aide_t)
userdom_use_inherited_user_terminals(aide_t)
optional_policy(`
prelink_domtrans(aide_t)
')
optional_policy(`
seutil_use_newrole_fds(aide_t)
')
optional_policy(`
sssd_stream_connect(aide_t)
')