sshd/setrans: make respective init scripts create pid dirs with proper contexts
Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
parent
012f1b2311
commit
4113f7b0d4
|
@ -33,6 +33,10 @@ corecmd_executable_file(sshd_exec_t)
|
|||
ssh_server_template(sshd)
|
||||
init_daemon_domain(sshd_t, sshd_exec_t)
|
||||
|
||||
ifdef(`distro_debian',`
|
||||
init_daemon_run_dir(sshd_var_run_t, "sshd")
|
||||
')
|
||||
|
||||
type sshd_key_t;
|
||||
files_type(sshd_key_t)
|
||||
|
||||
|
|
|
@ -20,6 +20,10 @@ type setrans_var_run_t;
|
|||
files_pid_file(setrans_var_run_t)
|
||||
mls_trusted_object(setrans_var_run_t)
|
||||
|
||||
ifdef(`distro_debian',`
|
||||
init_daemon_run_dir(setrans_var_run_t, "setrans")
|
||||
')
|
||||
|
||||
ifdef(`enable_mcs',`
|
||||
init_ranged_daemon_domain(setrans_t, setrans_exec_t, s0 - mcs_systemhigh)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue