## policy for authconfig ######################################## ## ## Execute TEMPLATE in the authconfig domin. ## ## ## ## Domain allowed to transition. ## ## # interface(`authconfig_domtrans',` gen_require(` type authconfig_t, authconfig_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, authconfig_exec_t, authconfig_t) ') ######################################## ## ## Search authconfig lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`authconfig_search_lib',` gen_require(` type authconfig_var_lib_t; ') allow $1 authconfig_var_lib_t:dir search_dir_perms; files_search_var_lib($1) ') ######################################## ## ## Read authconfig lib files. ## ## ## ## Domain allowed access. ## ## # interface(`authconfig_read_lib_files',` gen_require(` type authconfig_var_lib_t; ') files_search_var_lib($1) read_files_pattern($1, authconfig_var_lib_t, authconfig_var_lib_t) ') ######################################## ## ## Manage authconfig lib files. ## ## ## ## Domain allowed access. ## ## # interface(`authconfig_manage_lib_files',` gen_require(` type authconfig_var_lib_t; ') files_search_var_lib($1) manage_files_pattern($1, authconfig_var_lib_t, authconfig_var_lib_t) ') ######################################## ## ## Manage authconfig lib directories. ## ## ## ## Domain allowed access. ## ## # interface(`authconfig_manage_lib_dirs',` gen_require(` type authconfig_var_lib_t; ') files_search_var_lib($1) manage_dirs_pattern($1, authconfig_var_lib_t, authconfig_var_lib_t) ') ######################################## ## ## All of the rules required to administrate ## an authconfig environment ## ## ## ## Domain allowed access. ## ## # interface(`authconfig_admin',` gen_require(` type authconfig_t; type authconfig_var_lib_t; ') allow $1 authconfig_t:process { ptrace signal_perms }; ps_process_pattern($1, authconfig_t) files_search_var_lib($1) admin_pattern($1, authconfig_var_lib_t) optional_policy(` systemd_passwd_agent_exec($1) systemd_read_fifo_file_passwd_run($1) ') ')