Blame policy/modules/services/nslcd.te
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
29af4c |
policy_module(nslcd, 1.1.0)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
########################################
|
|
Chris PeBenito |
81bca1 |
#
|
|
Chris PeBenito |
81bca1 |
# Declarations
|
|
Chris PeBenito |
81bca1 |
#
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
type nslcd_t;
|
|
Chris PeBenito |
81bca1 |
type nslcd_exec_t;
|
|
Chris PeBenito |
81bca1 |
init_daemon_domain(nslcd_t, nslcd_exec_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
type nslcd_initrc_exec_t;
|
|
Chris PeBenito |
81bca1 |
init_script_file(nslcd_initrc_exec_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
type nslcd_var_run_t;
|
|
Chris PeBenito |
81bca1 |
files_pid_file(nslcd_var_run_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
type nslcd_conf_t;
|
|
Chris PeBenito |
81bca1 |
files_type(nslcd_conf_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
########################################
|
|
Chris PeBenito |
81bca1 |
#
|
|
Chris PeBenito |
81bca1 |
# nslcd local policy
|
|
Chris PeBenito |
81bca1 |
#
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
allow nslcd_t self:capability { setgid setuid dac_override };
|
|
Chris PeBenito |
81bca1 |
allow nslcd_t self:process signal;
|
|
Chris PeBenito |
81bca1 |
allow nslcd_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
allow nslcd_t nslcd_conf_t:file read_file_perms;
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
manage_dirs_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
Chris PeBenito |
81bca1 |
manage_files_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
Chris PeBenito |
81bca1 |
manage_sock_files_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
Chris PeBenito |
81bca1 |
files_pid_filetrans(nslcd_t, nslcd_var_run_t, { file dir })
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
files_read_etc_files(nslcd_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
auth_use_nsswitch(nslcd_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
logging_send_syslog_msg(nslcd_t)
|
|
Chris PeBenito |
81bca1 |
|
|
Chris PeBenito |
81bca1 |
miscfiles_read_localization(nslcd_t)
|