blob: e93e1dfda17bdec7732cc47f278c7314c96b49d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
policy_module(nslcd, 1.0.0)
########################################
#
# 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 })
files_read_etc_files(nslcd_t)
auth_use_nsswitch(nslcd_t)
logging_send_syslog_msg(nslcd_t)
miscfiles_read_localization(nslcd_t)
|