-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/sbin/pcm-sensor-server -- gen_context(system_u:object_r:pcmsensor_exec_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## <summary>Intel Performance Counter Monitor (PCM) Sensor Service</summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
policy_module(pcm, 1.0) | ||
#policy_module(pcmsensor, 1.0) | ||
|
||
######################################## | ||
# | ||
# Declarations | ||
# | ||
|
||
type pcmsensor_t; | ||
type pcmsensor_exec_t; | ||
init_daemon_domain(pcmsensor_t, pcmsensor_exec_t) | ||
|
||
#type pcmsensor_var_lib_t; | ||
#files_type(pcmsensor_var_lib_t); | ||
|
||
permissive pcmsensor_t; | ||
|
||
allow pcmsensor_t self:capability sys_resource; | ||
allow pcmsensor_t self:process { ptrace setrlimit }; | ||
|
||
kernel_read_proc_files(pcmsensor_t) |