|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
ed3a1f |
policy_module(readahead, 1.10.0)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
########################################
|
|
Chris PeBenito |
6f11d6 |
#
|
|
Chris PeBenito |
6f11d6 |
# Declarations
|
|
Chris PeBenito |
6f11d6 |
#
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
type readahead_t;
|
|
Chris PeBenito |
6f11d6 |
type readahead_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(readahead_t, readahead_exec_t)
|
|
Chris PeBenito |
0bfccd |
application_domain(readahead_t, readahead_exec_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
83f0b5 |
type readahead_var_lib_t;
|
|
Chris PeBenito |
83f0b5 |
files_type(readahead_var_lib_t)
|
|
Chris PeBenito |
83f0b5 |
typealias readahead_var_lib_t alias readahead_etc_rw_t;
|
|
Chris PeBenito |
0a0b80 |
|
|
Chris PeBenito |
6f11d6 |
type readahead_var_run_t;
|
|
Chris PeBenito |
6f11d6 |
files_pid_file(readahead_var_run_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
########################################
|
|
Chris PeBenito |
6f11d6 |
#
|
|
Chris PeBenito |
6f11d6 |
# Local policy
|
|
Chris PeBenito |
6f11d6 |
#
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
12c61f |
allow readahead_t self:capability { fowner dac_override dac_read_search };
|
|
Chris PeBenito |
83f0b5 |
dontaudit readahead_t self:capability { net_admin sys_tty_config };
|
|
Chris PeBenito |
83f0b5 |
allow readahead_t self:process { setsched signal_perms };
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
83f0b5 |
manage_dirs_pattern(readahead_t, readahead_var_lib_t, readahead_var_lib_t)
|
|
Chris PeBenito |
83f0b5 |
manage_files_pattern(readahead_t, readahead_var_lib_t, readahead_var_lib_t)
|
|
Chris PeBenito |
83f0b5 |
files_search_var_lib(readahead_t)
|
|
Chris PeBenito |
0a0b80 |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(readahead_t, readahead_var_run_t, readahead_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(readahead_t, readahead_var_run_t, file)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
83f0b5 |
kernel_read_all_sysctls(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
kernel_read_system_state(readahead_t)
|
|
Chris PeBenito |
445522 |
kernel_dontaudit_getattr_core_if(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
dev_read_sysfs(readahead_t)
|
|
Chris PeBenito |
207c47 |
dev_getattr_generic_chr_files(readahead_t)
|
|
Chris PeBenito |
207c47 |
dev_getattr_generic_blk_files(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
dev_getattr_all_chr_files(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
dev_getattr_all_blk_files(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
dev_dontaudit_read_all_blk_files(readahead_t)
|
|
Chris PeBenito |
93727e |
dev_dontaudit_getattr_memory_dev(readahead_t)
|
|
Chris PeBenito |
6c6399 |
dev_dontaudit_getattr_nvram_dev(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
15722e |
domain_use_interactive_fds(readahead_t)
|
|
Chris PeBenito |
83f0b5 |
domain_read_all_domains_state(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
files_list_non_security(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
files_read_non_security_files(readahead_t)
|
|
Chris PeBenito |
83f0b5 |
files_create_boot_flag(readahead_t)
|
|
Chris PeBenito |
c1e5b1 |
files_getattr_all_pipes(readahead_t)
|
|
Chris PeBenito |
6af53d |
files_dontaudit_getattr_all_sockets(readahead_t)
|
|
Chris PeBenito |
6af53d |
files_dontaudit_getattr_non_security_blk_files(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
fs_getattr_all_fs(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
fs_search_auto_mountpoints(readahead_t)
|
|
Chris PeBenito |
a77e65 |
fs_getattr_all_pipes(readahead_t)
|
|
Chris PeBenito |
a77e65 |
fs_getattr_all_files(readahead_t)
|
|
Chris PeBenito |
6af53d |
fs_read_tmpfs_symlinks(readahead_t)
|
|
Chris PeBenito |
6af53d |
fs_list_inotifyfs(readahead_t)
|
|
Chris PeBenito |
b0d224 |
fs_dontaudit_search_ramfs(readahead_t)
|
|
Chris PeBenito |
b0d224 |
fs_dontaudit_read_ramfs_pipes(readahead_t)
|
|
Chris PeBenito |
b0d224 |
fs_dontaudit_read_ramfs_files(readahead_t)
|
|
Chris PeBenito |
83f0b5 |
fs_dontaudit_use_tmpfs_chr_dev(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
f8233a |
mls_file_read_all_levels(readahead_t)
|
|
Chris PeBenito |
693d4a |
|
|
Chris PeBenito |
6af53d |
storage_raw_read_fixed_disk(readahead_t)
|
|
Chris PeBenito |
6af53d |
|
|
Chris PeBenito |
6f11d6 |
term_dontaudit_use_console(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
auth_dontaudit_read_shadow(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
1c1ac6 |
init_use_fds(readahead_t)
|
|
Chris PeBenito |
1815ba |
init_use_script_ptys(readahead_t)
|
|
Chris PeBenito |
a77e65 |
init_getattr_initctl(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
logging_send_syslog_msg(readahead_t)
|
|
Chris PeBenito |
83f0b5 |
logging_set_audit_parameters(readahead_t)
|
|
Chris PeBenito |
0a0b80 |
logging_dontaudit_search_audit_config(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
6f11d6 |
miscfiles_read_localization(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
15722e |
userdom_dontaudit_use_unpriv_user_fds(readahead_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
0a0b80 |
cron_system_entry(readahead_t, readahead_exec_t)
|
|
Chris PeBenito |
0a0b80 |
')
|
|
Chris PeBenito |
0a0b80 |
|
|
Chris PeBenito |
0a0b80 |
optional_policy(`
|
|
Chris PeBenito |
6f11d6 |
seutil_sigchld_newrole(readahead_t)
|
|
Chris PeBenito |
6f11d6 |
')
|