aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2019-09-08 16:55:02 -0400
committerJason Zaman <perfinion@gentoo.org>2019-12-16 21:06:13 +0800
commit5b62a0e558c83adef0056739d9ac2934eebccc7c (patch)
treea0f11c029a432cc99ba93b326b3600cade9afcc7 /policy/modules/services/gatekeeper.te
parentsystemd: allow user environment helpers to communicate with systemd --user (diff)
downloadhardened-refpolicy-5b62a0e558c83adef0056739d9ac2934eebccc7c.tar.gz
hardened-refpolicy-5b62a0e558c83adef0056739d9ac2934eebccc7c.tar.bz2
hardened-refpolicy-5b62a0e558c83adef0056739d9ac2934eebccc7c.zip
Rename *_var_run_t types to *_runtime_t.
Signed-off-by: Chris PeBenito <pebenito@ieee.org> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'policy/modules/services/gatekeeper.te')
-rw-r--r--policy/modules/services/gatekeeper.te10
1 files changed, 5 insertions, 5 deletions
diff --git a/policy/modules/services/gatekeeper.te b/policy/modules/services/gatekeeper.te
index a2a4b41c1..3420475f8 100644
--- a/policy/modules/services/gatekeeper.te
+++ b/policy/modules/services/gatekeeper.te
@@ -21,8 +21,8 @@ logging_log_file(gatekeeper_log_t)
type gatekeeper_tmp_t;
files_tmp_file(gatekeeper_tmp_t)
-type gatekeeper_var_run_t;
-files_pid_file(gatekeeper_var_run_t)
+type gatekeeper_runtime_t alias gatekeeper_var_run_t;
+files_pid_file(gatekeeper_runtime_t)
########################################
#
@@ -48,9 +48,9 @@ manage_dirs_pattern(gatekeeper_t, gatekeeper_tmp_t, gatekeeper_tmp_t)
manage_files_pattern(gatekeeper_t, gatekeeper_tmp_t, gatekeeper_tmp_t)
files_tmp_filetrans(gatekeeper_t, gatekeeper_tmp_t, { file dir })
-manage_dirs_pattern(gatekeeper_t, gatekeeper_var_run_t, gatekeeper_var_run_t)
-manage_files_pattern(gatekeeper_t, gatekeeper_var_run_t, gatekeeper_var_run_t)
-files_pid_filetrans(gatekeeper_t, gatekeeper_var_run_t, { dir file })
+manage_dirs_pattern(gatekeeper_t, gatekeeper_runtime_t, gatekeeper_runtime_t)
+manage_files_pattern(gatekeeper_t, gatekeeper_runtime_t, gatekeeper_runtime_t)
+files_pid_filetrans(gatekeeper_t, gatekeeper_runtime_t, { dir file })
kernel_read_system_state(gatekeeper_t)
kernel_read_kernel_sysctls(gatekeeper_t)