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/system/xen.if
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/system/xen.if')
-rw-r--r--policy/modules/system/xen.if20
1 files changed, 10 insertions, 10 deletions
diff --git a/policy/modules/system/xen.if b/policy/modules/system/xen.if
index 44116292..e80d3d90 100644
--- a/policy/modules/system/xen.if
+++ b/policy/modules/system/xen.if
@@ -188,11 +188,11 @@ interface(`xen_manage_log',`
#
interface(`xen_read_xenstored_pid_files',`
gen_require(`
- type xenstored_var_run_t;
+ type xenstored_runtime_t;
')
files_search_pids($1)
- read_files_pattern($1, xenstored_var_run_t, xenstored_var_run_t)
+ read_files_pattern($1, xenstored_runtime_t, xenstored_runtime_t)
')
########################################
@@ -227,11 +227,11 @@ interface(`xen_dontaudit_rw_unix_stream_sockets',`
#
interface(`xen_stream_connect_xenstore',`
gen_require(`
- type xenstored_t, xenstored_var_run_t;
+ type xenstored_t, xenstored_runtime_t;
')
files_search_pids($1)
- stream_connect_pattern($1, xenstored_var_run_t, xenstored_var_run_t, xenstored_t)
+ stream_connect_pattern($1, xenstored_runtime_t, xenstored_runtime_t, xenstored_t)
')
########################################
@@ -247,11 +247,11 @@ interface(`xen_stream_connect_xenstore',`
#
interface(`xen_stream_connect',`
gen_require(`
- type xend_t, xend_var_run_t, xend_var_lib_t;
+ type xend_t, xend_runtime_t, xend_var_lib_t;
')
files_search_pids($1)
- stream_connect_pattern($1, xend_var_run_t, xend_var_run_t, xend_t)
+ stream_connect_pattern($1, xend_runtime_t, xend_runtime_t, xend_t)
files_search_var_lib($1)
stream_connect_pattern($1, xend_var_lib_t, xend_var_lib_t, xend_t)
@@ -259,7 +259,7 @@ interface(`xen_stream_connect',`
########################################
## <summary>
-## Create in a xend_var_run_t directory
+## Create in a xend_runtime_t directory
## </summary>
## <param name="domain">
## <summary>
@@ -279,10 +279,10 @@ interface(`xen_stream_connect',`
#
interface(`xen_pid_filetrans',`
gen_require(`
- type xend_var_run_t;
+ type xend_runtime_t;
')
- filetrans_pattern($1, xend_var_run_t, $2, $3)
+ filetrans_pattern($1, xend_runtime_t, $2, $3)
')
########################################
@@ -321,5 +321,5 @@ interface(`xen_stream_connect_xm',`
')
files_search_pids($1)
- stream_connect_pattern($1, xenstored_var_run_t, xenstored_var_run_t, xm_t)
+ stream_connect_pattern($1, xenstored_runtime_t, xenstored_runtime_t, xm_t)
')