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 46874139694 for ; Thu, 25 May 2017 16:43:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E9E321C22C; Thu, 25 May 2017 16:43:39 +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 3533A21C22C for ; Thu, 25 May 2017 16:43:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 CB1593416AD for ; Thu, 25 May 2017 16:43:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42474745E for ; Thu, 25 May 2017 16:43:31 +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: <1495729911.8d68ce2a990a182593b6a532b682a08f65da9b4f.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: 8d68ce2a990a182593b6a532b682a08f65da9b4f X-VCS-Branch: master Date: Thu, 25 May 2017 16:43:31 +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: 038d0117-facd-4e90-acf3-7bd970b6ff8d X-Archives-Hash: 065460f9407234cb32a5f528390a3bc4 commit: 8d68ce2a990a182593b6a532b682a08f65da9b4f Author: Chris PeBenito ieee org> AuthorDate: Tue May 23 00:20:06 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu May 25 16:31:51 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=8d68ce2a libmtp: move lines policy/modules/contrib/libmtp.te | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/policy/modules/contrib/libmtp.te b/policy/modules/contrib/libmtp.te index dbc933ab..64c851e3 100644 --- a/policy/modules/contrib/libmtp.te +++ b/policy/modules/contrib/libmtp.te @@ -43,17 +43,17 @@ domain_use_interactive_fds(libmtp_t) files_read_etc_files(libmtp_t) -miscfiles_read_localization(libmtp_t) - term_use_unallocated_ttys(libmtp_t) +miscfiles_read_localization(libmtp_t) + userdom_use_inherited_user_terminals(libmtp_t) +optional_policy(` + udev_read_pid_files(libmtp_t) +') + tunable_policy(`libmtp_enable_home_dirs',` userdom_manage_user_home_content_files(libmtp_t) userdom_user_home_dir_filetrans_user_home_content(libmtp_t, file ) ') - -optional_policy(` - udev_read_pid_files(libmtp_t) -')