From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EC59F13829C for ; Thu, 2 Jun 2016 06:32:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BF3D1425A; Thu, 2 Jun 2016 06:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D0F51427B for ; Thu, 2 Jun 2016 06:32:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 93B84340CCB for ; Thu, 2 Jun 2016 06:32:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4904D2323 for ; Thu, 2 Jun 2016 06:32:12 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1464805965.535e8c89d35bbf6812f73377a771348b99c2d2f6.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/ftp.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 535e8c89d35bbf6812f73377a771348b99c2d2f6 X-VCS-Branch: master Date: Thu, 2 Jun 2016 06:32:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 923c45f0-f474-47bc-b796-b6b4bbcfebb1 X-Archives-Hash: 37dc724dd4580c98ccbeca9d22daab6f commit: 535e8c89d35bbf6812f73377a771348b99c2d2f6 Author: Jason Zaman perfinion com> AuthorDate: Wed Jun 1 16:12:40 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Jun 1 18:32:45 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=535e8c89 ftp: Add filetrans from user_runtime policy/modules/contrib/ftp.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/ftp.te b/policy/modules/contrib/ftp.te index 774bc9e..ed82117 100644 --- a/policy/modules/contrib/ftp.te +++ b/policy/modules/contrib/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_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_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_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_filetrans_user_tmp(sftpd_t, { dir file }) ') tunable_policy(`sftpd_enable_homedirs && use_nfs_home_dirs',`