Chris PeBenito 71965a
Chris PeBenito 29af4c
policy_module(kdump, 1.1.0)
Chris PeBenito 71965a
Chris PeBenito 71965a
#######################################
Chris PeBenito 71965a
#
Chris PeBenito 71965a
# Declarations
Chris PeBenito 71965a
#
Chris PeBenito 71965a
Chris PeBenito 71965a
type kdump_t;
Chris PeBenito 71965a
type kdump_exec_t;
Chris PeBenito 71965a
init_system_domain(kdump_t, kdump_exec_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
type kdump_etc_t;
Chris PeBenito 71965a
files_config_file(kdump_etc_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
type kdump_initrc_exec_t;
Chris PeBenito 71965a
init_script_file(kdump_initrc_exec_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
#####################################
Chris PeBenito 71965a
#
Chris PeBenito 71965a
# kdump local policy
Chris PeBenito 71965a
#
Chris PeBenito 71965a
Chris PeBenito 71965a
allow kdump_t self:capability { sys_boot dac_override };
Chris PeBenito 71965a
Chris PeBenito 71965a
read_files_pattern(kdump_t, kdump_etc_t, kdump_etc_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
files_read_etc_runtime_files(kdump_t)
Chris PeBenito 71965a
files_read_kernel_img(kdump_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
kernel_read_system_state(kdump_t)
Chris PeBenito e21162
kernel_read_core_if(kdump_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
dev_read_framebuffer(kdump_t)
Chris PeBenito 71965a
dev_read_sysfs(kdump_t)
Chris PeBenito 71965a
Chris PeBenito 71965a
term_use_console(kdump_t)