## policy for gssproxy - daemon to proxy GSSAPI context establishment and channel handling ######################################## ## ## Execute gssproxy in the gssproxy domin. ## ## ## ## Domain allowed to transition. ## ## # interface(`gssproxy_domtrans',` gen_require(` type gssproxy_t, gssproxy_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, gssproxy_exec_t, gssproxy_t) ') ######################################## ## ## Search gssproxy lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_search_lib',` gen_require(` type gssproxy_var_lib_t; ') allow $1 gssproxy_var_lib_t:dir search_dir_perms; files_search_var_lib($1) ') ######################################## ## ## Read gssproxy lib files. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_read_lib_files',` gen_require(` type gssproxy_var_lib_t; ') files_search_var_lib($1) read_files_pattern($1, gssproxy_var_lib_t, gssproxy_var_lib_t) ') ######################################## ## ## Manage gssproxy lib files. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_manage_lib_files',` gen_require(` type gssproxy_var_lib_t; ') files_search_var_lib($1) manage_files_pattern($1, gssproxy_var_lib_t, gssproxy_var_lib_t) ') ######################################## ## ## Manage gssproxy lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_manage_lib_dirs',` gen_require(` type gssproxy_var_lib_t; ') files_search_var_lib($1) manage_dirs_pattern($1, gssproxy_var_lib_t, gssproxy_var_lib_t) ') ######################################## ## ## Read gssproxy PID files. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_read_pid_files',` gen_require(` type gssproxy_run_t; ') files_search_pids($1) read_files_pattern($1, gssproxy_run_t, gssproxy_run_t) ') ######################################## ## ## Connect to gssproxy over an unix ## domain stream socket. ## ## ## ## Domain allowed access. ## ## # interface(`gssproxy_stream_connect',` gen_require(` type gssproxy_t, gssproxy_run_t, gssproxy_var_lib_t; ') files_search_pids($1) stream_connect_pattern($1, gssproxy_run_t, gssproxy_run_t, gssproxy_t) stream_connect_pattern($1, gssproxy_var_lib_t, gssproxy_var_lib_t, gssproxy_t) ') ######################################## ## ## All of the rules required to administrate ## an gssproxy environment ## ## ## ## Domain allowed access. ## ## ## # interface(`gssproxy_admin',` gen_require(` type gssproxy_t; type gssproxy_var_lib_t; type gssproxy_run_t; type gssproxy_unit_t; ') allow $1 gssproxy_t:process { ptrace signal_perms }; ps_process_pattern($1, gssproxy_t) files_search_var_lib($1) admin_pattern($1, gssproxy_var_lib_t) files_search_pids($1) admin_pattern($1, gssproxy_run_t) admin_pattern($1, gssproxy_unit_t) ')