diff options
author | 2020-06-27 17:11:48 -0400 | |
---|---|---|
committer | 2020-08-09 19:58:46 -0700 | |
commit | 23058b1987420f319b7cefe1e3c5d1cde9a6ffda (patch) | |
tree | 745f78ee1cc83ff0e78f49274f5f521113b0f78c /policy/modules/services/cpucontrol.te | |
parent | Rename "pid" interfaces to "runtime" interfaces. (diff) | |
download | hardened-refpolicy-23058b1987420f319b7cefe1e3c5d1cde9a6ffda.tar.gz hardened-refpolicy-23058b1987420f319b7cefe1e3c5d1cde9a6ffda.tar.bz2 hardened-refpolicy-23058b1987420f319b7cefe1e3c5d1cde9a6ffda.zip |
Update callers for "pid" to "runtime" interface rename.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'policy/modules/services/cpucontrol.te')
-rw-r--r-- | policy/modules/services/cpucontrol.te | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/policy/modules/services/cpucontrol.te b/policy/modules/services/cpucontrol.te index 555e7a457..8d12cb97d 100644 --- a/policy/modules/services/cpucontrol.te +++ b/policy/modules/services/cpucontrol.te @@ -19,7 +19,7 @@ type cpuspeed_exec_t; init_system_domain(cpuspeed_t, cpuspeed_exec_t) type cpuspeed_runtime_t alias cpuspeed_var_run_t; -files_pid_file(cpuspeed_runtime_t) +files_runtime_file(cpuspeed_runtime_t) ######################################## # @@ -88,7 +88,7 @@ allow cpuspeed_t self:process setsched; allow cpuspeed_t self:unix_dgram_socket create_socket_perms; allow cpuspeed_t cpuspeed_runtime_t:file manage_file_perms; -files_pid_filetrans(cpuspeed_t, cpuspeed_runtime_t, file) +files_runtime_filetrans(cpuspeed_t, cpuspeed_runtime_t, file) kernel_read_system_state(cpuspeed_t) |