Chris PeBenito 31b7c0
#DESC cpuspeed - domain for microcode_ctl, powernowd, etc
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
# Authors:  Russell Coker <russell@coker.com.au>
Chris PeBenito 31b7c0
#           Thomas Bleher <ThomasBleher@gmx.de>
Chris PeBenito 31b7c0
#
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
daemon_base_domain(cpuspeed)
Chris PeBenito 31b7c0
read_locale(cpuspeed_t)
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
allow cpuspeed_t sysfs_t:dir search;
Chris PeBenito 31b7c0
allow cpuspeed_t sysfs_t:file rw_file_perms;
Chris PeBenito 31b7c0
allow cpuspeed_t proc_t:dir r_dir_perms;
Chris PeBenito 31b7c0
allow cpuspeed_t proc_t:file { getattr read };
Chris PeBenito 31b7c0
allow cpuspeed_t { etc_t etc_runtime_t }:file { getattr read };
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
allow cpuspeed_t self:process setsched;
Chris PeBenito 31b7c0
allow cpuspeed_t self:unix_dgram_socket create_socket_perms;