diff options
Diffstat (limited to 'policy/modules/services/rpcbind.if')
-rw-r--r-- | policy/modules/services/rpcbind.if | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/policy/modules/services/rpcbind.if b/policy/modules/services/rpcbind.if index 78ca83a4a..5fd670607 100644 --- a/policy/modules/services/rpcbind.if +++ b/policy/modules/services/rpcbind.if @@ -32,11 +32,11 @@ interface(`rpcbind_domtrans',` # interface(`rpcbind_stream_connect',` gen_require(` - type rpcbind_t, rpcbind_var_run_t; + type rpcbind_t, rpcbind_runtime_t; ') files_search_pids($1) - stream_connect_pattern($1, rpcbind_var_run_t, rpcbind_var_run_t, rpcbind_t) + stream_connect_pattern($1, rpcbind_runtime_t, rpcbind_runtime_t, rpcbind_t) ') ######################################## @@ -51,11 +51,11 @@ interface(`rpcbind_stream_connect',` # interface(`rpcbind_read_pid_files',` gen_require(` - type rpcbind_var_run_t; + type rpcbind_runtime_t; ') files_search_pids($1) - allow $1 rpcbind_var_run_t:file read_file_perms; + allow $1 rpcbind_runtime_t:file read_file_perms; ') ######################################## @@ -153,7 +153,7 @@ interface(`rpcbind_signull',` # interface(`rpcbind_admin',` gen_require(` - type rpcbind_t, rpcbind_var_lib_t, rpcbind_var_run_t; + type rpcbind_t, rpcbind_var_lib_t, rpcbind_runtime_t; type rpcbind_initrc_exec_t; ') @@ -163,7 +163,7 @@ interface(`rpcbind_admin',` init_startstop_service($1, $2, rpcbind_t, rpcbind_initrc_exec_t) files_search_pids($1) - admin_pattern($1, rpcbind_var_run_t) + admin_pattern($1, rpcbind_runtime_t) files_search_var_lib($1) admin_pattern($1, rpcbind_var_lib_t) |