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