selinux-policy/policy/modules/admin/dmidecode.te

35 lines
616 B
Plaintext
Raw Normal View History

2005-09-27 21:24:01 +00:00
policy_module(dmidecode, 1.3.0)
2005-09-27 21:24:01 +00:00
########################################
#
# Declarations
#
type dmidecode_t;
type dmidecode_exec_t;
application_domain(dmidecode_t, dmidecode_exec_t)
2007-07-19 18:57:48 +00:00
role system_r types dmidecode_t;
2005-09-27 21:24:01 +00:00
########################################
#
# Local policy
#
allow dmidecode_t self:capability sys_rawio;
2007-10-11 18:12:29 +00:00
dev_read_sysfs(dmidecode_t)
2005-09-27 21:24:01 +00:00
# Allow dmidecode to read /dev/mem
dev_read_raw_memory(dmidecode_t)
mls_file_read_all_levels(dmidecode_t)
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
locallogin_use_fds(dmidecode_t)