2005-09-27 21:24:01 +00:00
|
|
|
|
2007-10-02 17:15:07 +00:00
|
|
|
policy_module(dmidecode,1.2.1)
|
2005-09-27 21:24:01 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type dmidecode_t;
|
|
|
|
type dmidecode_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_domain(dmidecode_t,dmidecode_exec_t)
|
|
|
|
role system_r types dmidecode_t;
|
2005-09-27 21:24:01 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow dmidecode_t self:capability sys_rawio;
|
|
|
|
|
|
|
|
# Allow dmidecode to read /dev/mem
|
|
|
|
dev_read_raw_memory(dmidecode_t)
|
|
|
|
|
2007-08-20 18:26:08 +00:00
|
|
|
mls_file_read_all_levels(dmidecode_t)
|
2006-03-23 19:19:38 +00:00
|
|
|
|
2005-09-27 21:24:01 +00:00
|
|
|
term_list_ptys(dmidecode_t)
|
|
|
|
|
|
|
|
files_list_usr(dmidecode_t)
|
|
|
|
|
|
|
|
libs_use_ld_so(dmidecode_t)
|
|
|
|
libs_use_shared_libs(dmidecode_t)
|
2005-10-26 16:00:13 +00:00
|
|
|
|
2006-03-02 23:41:11 +00:00
|
|
|
locallogin_use_fds(dmidecode_t)
|