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 844641382C5 for ; Thu, 12 Apr 2018 11:57:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88256E079C; Thu, 12 Apr 2018 11:57:38 +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 63184E079C for ; Thu, 12 Apr 2018 11:57:38 +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 CE12D335C60 for ; Thu, 12 Apr 2018 11:57:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4B3D274 for ; Thu, 12 Apr 2018 11:57:34 +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: <1523534219.5857e634aaee0f8665a884859ffc3d4cf05d16c4.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/dropbox.fc policy/modules/contrib/dropbox.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 5857e634aaee0f8665a884859ffc3d4cf05d16c4 X-VCS-Branch: master Date: Thu, 12 Apr 2018 11:57:34 +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: f0b70f6a-eb91-45f6-8c1c-5e2a0b287c4f X-Archives-Hash: 0cff2a4fe97463bf22dc6736e0ec120a commit: 5857e634aaee0f8665a884859ffc3d4cf05d16c4 Author: Jason Zaman perfinion com> AuthorDate: Thu Apr 12 10:25:18 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Apr 12 11:56:59 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5857e634 dropbox: update fcontext and map usr_t policy/modules/contrib/dropbox.fc | 2 +- policy/modules/contrib/dropbox.te | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/dropbox.fc b/policy/modules/contrib/dropbox.fc index a83a1bff..bcd85a60 100644 --- a/policy/modules/contrib/dropbox.fc +++ b/policy/modules/contrib/dropbox.fc @@ -8,7 +8,7 @@ HOME_DIR/\.dropbox-dist(/.*)?/dropboxd? -- gen_context(system_u:object_r:dropbo /opt/bin/dropbox -l gen_context(system_u:object_r:dropbox_exec_t,s0) /opt/dropbox/.*py?\.?.*egg(/.*)? gen_context(system_u:object_r:lib_t,s0) -/opt/dropbox/lib.*\.so\.. -- gen_context(system_u:object_r:lib_t,s0) +/opt/dropbox/lib.*\.so\.[0-9]+ -- gen_context(system_u:object_r:lib_t,s0) /opt/dropbox/dropboxd? -- gen_context(system_u:object_r:dropbox_exec_t,s0) /opt/dropbox/library\.zip -l gen_context(system_u:object_r:lib_t,s0) diff --git a/policy/modules/contrib/dropbox.te b/policy/modules/contrib/dropbox.te index 63f95c25..80d8af37 100644 --- a/policy/modules/contrib/dropbox.te +++ b/policy/modules/contrib/dropbox.te @@ -89,6 +89,7 @@ dev_read_urand(dropbox_t) libs_exec_ldconfig(dropbox_t) files_read_usr_files(dropbox_t) +files_map_usr_files(dropbox_t) auth_use_nsswitch(dropbox_t) miscfiles_read_localization(dropbox_t)