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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
policy_module(sysstat, 1.10.0)
########################################
#
# Declarations
#
type sysstat_t;
type sysstat_exec_t;
init_system_domain(sysstat_t, sysstat_exec_t)
type sysstat_initrc_exec_t;
init_script_file(sysstat_initrc_exec_t)
type sysstat_log_t;
logging_log_file(sysstat_log_t)
########################################
#
# Local policy
#
allow sysstat_t self:capability { dac_override sys_admin sys_resource sys_tty_config };
allow sysstat_t self:fifo_file rw_fifo_file_perms;
manage_dirs_pattern(sysstat_t,sysstat_log_t,sysstat_log_t)
manage_files_pattern(sysstat_t, sysstat_log_t, sysstat_log_t)
setattr_files_pattern(sysstat_t, sysstat_log_t, sysstat_log_t)
manage_lnk_files_pattern(sysstat_t,sysstat_log_t,sysstat_log_t)
logging_log_filetrans(sysstat_t, sysstat_log_t, { file dir })
can_exec(sysstat_t, sysstat_exec_t)
kernel_read_system_state(sysstat_t)
kernel_read_network_state(sysstat_t)
kernel_read_kernel_sysctls(sysstat_t)
kernel_read_fs_sysctls(sysstat_t)
kernel_read_rpc_sysctls(sysstat_t)
corecmd_exec_bin(sysstat_t)
corecmd_exec_shell(sysstat_t)
dev_read_sysfs(sysstat_t)
dev_getattr_sysfs(sysstat_t)
dev_read_urand(sysstat_t)
files_search_var(sysstat_t)
files_read_etc_runtime_files(sysstat_t)
files_search_all_mountpoints(sysstat_t)
fs_getattr_xattr_fs(sysstat_t)
fs_list_inotifyfs(sysstat_t)
term_use_console(sysstat_t)
term_use_all_terms(sysstat_t)
auth_use_nsswitch(sysstat_t)
init_use_fds(sysstat_t)
locallogin_use_fds(sysstat_t)
logging_send_syslog_msg(sysstat_t)
miscfiles_read_localization(sysstat_t)
userdom_dontaudit_list_user_home_dirs(sysstat_t)
optional_policy(`
cron_system_entry(sysstat_t, sysstat_exec_t)
cron_rw_tmp_files(sysstat_t)
')
ifdef(`distro_gentoo',`
corecmd_exec_shell(sysstat_t)
manage_files_pattern(sysstat_t, sysstat_log_t, sysstat_log_t)
')
|