From: jason@perfinion.com (Jason Zaman) Date: Sat, 28 May 2016 04:36:25 +0800 Subject: [refpolicy] [PATCH v3 3/7] ftp: Add filetrans from user_runtime_dir In-Reply-To: <1464381389-24284-1-git-send-email-jason@perfinion.com> References: <1464381389-24284-1-git-send-email-jason@perfinion.com> Message-ID: <1464381389-24284-3-git-send-email-jason@perfinion.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com --- ftp.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ftp.te b/ftp.te index 774bc9e..6d70878 100644 --- a/ftp.te +++ b/ftp.te @@ -318,9 +318,11 @@ tunable_policy(`ftp_home_dir',` userdom_manage_user_tmp_dirs(ftpd_t) userdom_manage_user_tmp_files(ftpd_t) userdom_tmp_filetrans_user_tmp(ftpd_t, { dir file }) + userdom_user_runtime_dir_filetrans_user_tmp(ftpd_t, { dir file }) ',` userdom_user_home_dir_filetrans_user_home_content(ftpd_t, { dir file }) userdom_tmp_filetrans_user_tmp(ftpd_t, { dir file }) + userdom_user_runtime_dir_filetrans_user_tmp(ftpd_t, { dir file }) ') tunable_policy(`ftp_home_dir && use_nfs_home_dirs',` @@ -457,9 +459,11 @@ tunable_policy(`sftpd_enable_homedirs',` userdom_manage_user_tmp_dirs(sftpd_t) userdom_manage_user_tmp_files(sftpd_t) userdom_tmp_filetrans_user_tmp(sftpd_t, { dir file }) + userdom_user_runtime_dir_filetrans_user_tmp(sftpd_t, { dir file }) ',` userdom_user_home_dir_filetrans_user_home_content(sftpd_t, { dir file }) userdom_tmp_filetrans_user_tmp(sftpd_t, { dir file }) + userdom_user_runtime_dir_filetrans_user_tmp(sftpd_t, { dir file }) ') tunable_policy(`sftpd_enable_homedirs && use_nfs_home_dirs',` -- 2.7.3