Blame refpolicy/policy/modules/admin/dmidecode.te
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
policy_module(dmidecode,1.0)
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
########################################
|
|
Chris PeBenito |
20e306 |
#
|
|
Chris PeBenito |
20e306 |
# Declarations
|
|
Chris PeBenito |
20e306 |
#
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
type dmidecode_t;
|
|
Chris PeBenito |
20e306 |
domain_type(dmidecode_t)
|
|
Chris PeBenito |
20e306 |
role system_r types dmidecode_t;
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
type dmidecode_exec_t;
|
|
Chris PeBenito |
20e306 |
domain_entry_file(dmidecode_t,dmidecode_exec_t)
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
########################################
|
|
Chris PeBenito |
20e306 |
#
|
|
Chris PeBenito |
20e306 |
# Local policy
|
|
Chris PeBenito |
20e306 |
#
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
allow dmidecode_t self:capability sys_rawio;
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
# Allow dmidecode to read /dev/mem
|
|
Chris PeBenito |
20e306 |
dev_read_raw_memory(dmidecode_t)
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
term_list_ptys(dmidecode_t)
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
files_list_usr(dmidecode_t)
|
|
Chris PeBenito |
20e306 |
|
|
Chris PeBenito |
20e306 |
libs_use_ld_so(dmidecode_t)
|
|
Chris PeBenito |
20e306 |
libs_use_shared_libs(dmidecode_t)
|