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