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

32 lines
565 B
Plaintext
Raw Normal View History

2005-09-27 21:24:01 +00:00
policy_module(dmidecode, 1.4.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
files_list_usr(dmidecode_t)
locallogin_use_fds(dmidecode_t)
2008-11-05 16:10:46 +00:00
userdom_use_user_terminals(dmidecode_t)