From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FACA1396D0 for ; Sat, 9 Sep 2017 02:43:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A9801FC11C; Sat, 9 Sep 2017 02:43:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 381F11FC118 for ; Sat, 9 Sep 2017 02:43:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA3573417E2 for ; Sat, 9 Sep 2017 02:43:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87DEF9083 for ; Sat, 9 Sep 2017 02:43:01 +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: <1504910931.c5fa34fb27569f5e6710a0b323221219e03b025c.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/libmtp.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: c5fa34fb27569f5e6710a0b323221219e03b025c X-VCS-Branch: master Date: Sat, 9 Sep 2017 02:43:01 +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: 9962da62-2547-433a-98d2-d4d556303539 X-Archives-Hash: 2e28d099d37a92596d30042eba264a4f commit: c5fa34fb27569f5e6710a0b323221219e03b025c Author: Guido Trentalancia trentalancia com> AuthorDate: Fri Aug 25 16:51:24 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Sep 8 22:48:51 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c5fa34fb libmtp: read symlinks in user home directories Let libmtp read symbolic links in the user home directories, if the "libmtp_enable_home_dirs" boolean is enabled. Signed-off-by: Guido Trentalancia trentalancia.com> policy/modules/contrib/libmtp.te | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/libmtp.te b/policy/modules/contrib/libmtp.te index 64c851e3..bacfb1b7 100644 --- a/policy/modules/contrib/libmtp.te +++ b/policy/modules/contrib/libmtp.te @@ -7,8 +7,8 @@ policy_module(libmtp, 1.0.0) ## ##

-## Determine whether libmtp can -## manage the user home directories +## Determine whether libmtp can read +## and manage the user home directories ## and files. ##

##
@@ -55,5 +55,6 @@ optional_policy(` tunable_policy(`libmtp_enable_home_dirs',` userdom_manage_user_home_content_files(libmtp_t) + userdom_read_user_home_content_symlinks(libmtp_t) userdom_user_home_dir_filetrans_user_home_content(libmtp_t, file ) ')