diff options
author | Scall <scall@prosemail.net> | 2018-04-12 19:38:02 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2018-04-22 19:53:03 +0800 |
commit | 7d890102e3a63b001659d6ae6a636007831cc7ca (patch) | |
tree | 79c352a4adddd36f52e646aa5cad0217741bb462 | |
parent | ifplugd: Allow transition to init scripts (diff) | |
download | hardened-refpolicy-7d890102e3a63b001659d6ae6a636007831cc7ca.tar.gz hardened-refpolicy-7d890102e3a63b001659d6ae6a636007831cc7ca.tar.bz2 hardened-refpolicy-7d890102e3a63b001659d6ae6a636007831cc7ca.zip |
Fix /run/samba context generated by samba init script
-rw-r--r-- | policy/modules/contrib/samba.te | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/modules/contrib/samba.te b/policy/modules/contrib/samba.te index c4a2eea4b..e388e8220 100644 --- a/policy/modules/contrib/samba.te +++ b/policy/modules/contrib/samba.te @@ -114,7 +114,7 @@ init_daemon_domain(nmbd_t, nmbd_exec_t) type samba_var_run_t; typealias samba_var_run_t alias { nmbd_var_run_t smbd_var_run_t }; -files_pid_file(samba_var_run_t) +init_daemon_pid_file(samba_var_run_t, dir, "samba") type samba_etc_t; files_config_file(samba_etc_t) |