fee48647ac
67effb0
483be01
c6c63f6
b0d8d59
5b082e4
b8097d6
689d954
5afc3d3
f3c5e77
a59e50c
cf87233
17759c7
dc1db54
e9bf16d
4f95198
bf40792
622c63b
c20842c
dc7cc4d
792d448
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
policy_module(nslcd, 1.1.1)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type nslcd_t;
|
|
type nslcd_exec_t;
|
|
init_daemon_domain(nslcd_t, nslcd_exec_t)
|
|
|
|
type nslcd_initrc_exec_t;
|
|
init_script_file(nslcd_initrc_exec_t)
|
|
|
|
type nslcd_var_run_t;
|
|
files_pid_file(nslcd_var_run_t)
|
|
|
|
type nslcd_conf_t;
|
|
files_type(nslcd_conf_t)
|
|
|
|
########################################
|
|
#
|
|
# nslcd local policy
|
|
#
|
|
|
|
allow nslcd_t self:capability { setgid setuid dac_override };
|
|
allow nslcd_t self:process signal;
|
|
allow nslcd_t self:unix_stream_socket create_stream_socket_perms;
|
|
|
|
allow nslcd_t nslcd_conf_t:file read_file_perms;
|
|
|
|
manage_dirs_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
manage_files_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
manage_sock_files_pattern(nslcd_t, nslcd_var_run_t, nslcd_var_run_t)
|
|
files_pid_filetrans(nslcd_t, nslcd_var_run_t, { file dir })
|
|
|
|
kernel_read_system_state(nslcd_t)
|
|
|
|
files_read_etc_files(nslcd_t)
|
|
|
|
auth_use_nsswitch(nslcd_t)
|
|
|
|
logging_send_syslog_msg(nslcd_t)
|
|
|
|
miscfiles_read_localization(nslcd_t)
|