1 policy_module(tuned, 1.1.0)
3 ########################################
10 init_daemon_domain(tuned_t, tuned_exec_t)
12 type tuned_initrc_exec_t;
13 init_script_file(tuned_initrc_exec_t)
16 logging_log_file(tuned_log_t)
19 files_pid_file(tuned_var_run_t)
21 ########################################
26 dontaudit tuned_t self:capability { dac_override sys_tty_config };
27 allow tuned_t self:fifo_file rw_fifo_file_perms;
29 manage_dirs_pattern(tuned_t, tuned_log_t, tuned_log_t)
30 manage_files_pattern(tuned_t, tuned_log_t, tuned_log_t)
31 logging_log_filetrans(tuned_t, tuned_log_t, file)
33 manage_files_pattern(tuned_t, tuned_var_run_t, tuned_var_run_t)
34 files_pid_filetrans(tuned_t, tuned_var_run_t, file)
36 corecmd_exec_shell(tuned_t)
37 corecmd_exec_bin(tuned_t)
39 kernel_read_system_state(tuned_t)
40 kernel_read_network_state(tuned_t)
42 dev_read_urand(tuned_t)
43 dev_read_sysfs(tuned_t)
45 dev_rw_netcontrol(tuned_t)
47 files_read_etc_files(tuned_t)
48 files_read_usr_files(tuned_t)
49 files_dontaudit_search_home(tuned_t)
51 logging_send_syslog_msg(tuned_t)
53 miscfiles_read_localization(tuned_t)
55 userdom_dontaudit_search_user_home_dirs(tuned_t)
57 # to allow disk tuning
59 fstools_domtrans(tuned_t)
63 gnome_dontaudit_search_config(tuned_t)
66 # to allow network interface tuning
68 sysnet_domtrans_ifconfig(tuned_t)