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 2002D138206 for ; Thu, 18 Jan 2018 16:15:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A23E08C8; Thu, 18 Jan 2018 16:15:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 524A3E08CD for ; Thu, 18 Jan 2018 16:15:45 +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 2F0D3335C39 for ; Thu, 18 Jan 2018 16:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BC6B1C1 for ; Thu, 18 Jan 2018 16:15:41 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1513175219.d959ec112471aa95de755bc7ec46fc0ca06031d7.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/rpm.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d959ec112471aa95de755bc7ec46fc0ca06031d7 X-VCS-Branch: swift Date: Thu, 18 Jan 2018 16:15:41 +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: 8109579f-cc16-49e2-8c5a-402fc2d2c30f X-Archives-Hash: 3dfc3c7c1c3ee37888b724a241797a41 commit: d959ec112471aa95de755bc7ec46fc0ca06031d7 Author: Chad Hanson gmail com> AuthorDate: Mon Dec 11 04:04:36 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Dec 13 14:26:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d959ec11 Allow rpm to relabel files at all levels This patch adds MLS relabel ability to rpm per the previous email request: http://oss.tresys.com/pipermail/refpolicy/2016-July/008038.html Signed-off-by: Chad Hanson gmail.com> policy/modules/contrib/rpm.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/rpm.te b/policy/modules/contrib/rpm.te index 44e8c7b5..9b1c1048 100644 --- a/policy/modules/contrib/rpm.te +++ b/policy/modules/contrib/rpm.te @@ -174,6 +174,7 @@ fs_search_auto_mountpoints(rpm_t) mls_file_read_all_levels(rpm_t) mls_file_write_all_levels(rpm_t) +mls_file_relabel(rpm_t) mls_file_upgrade(rpm_t) mls_file_downgrade(rpm_t)