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 56CE2138B38 for ; Tue, 28 Jan 2014 08:09:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D01CE0D9C; Tue, 28 Jan 2014 08:09:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F949E0AC8 for ; Tue, 28 Jan 2014 08:09:43 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EFFB33EEF2 for ; Tue, 28 Jan 2014 08:09:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 4252A18096 for ; Tue, 28 Jan 2014 08:09: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: <1390896425.7f89194367dde12d9a96fafa5cb19ba563595cb6.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/unconfined.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 7f89194367dde12d9a96fafa5cb19ba563595cb6 X-VCS-Branch: master Date: Tue, 28 Jan 2014 08:09: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: fc2d2d8f-840c-4c7d-a9c1-a8978be78579 X-Archives-Hash: 9fdea764276c4e1c87eb41a4e9e395f3 commit: 7f89194367dde12d9a96fafa5cb19ba563595cb6 Author: Laurent Bigonville bigon be> AuthorDate: Sat Jan 11 14:23:22 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jan 28 08:07:05 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=7f891943 Allow unconfined users to transition to dpkg_t domain dpkg is now using rpm_execcon()/setexecfilecon()-like function to transition to the dpkg_script_t domain. This function will fail in enforcing mode if the transition is not allowed. --- policy/modules/system/unconfined.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/unconfined.te b/policy/modules/system/unconfined.te index 55276f0..51a2992 100644 --- a/policy/modules/system/unconfined.te +++ b/policy/modules/system/unconfined.te @@ -80,6 +80,10 @@ optional_policy(` ') optional_policy(` + dpkg_run(unconfined_t, unconfined_r) +') + +optional_policy(` firstboot_run(unconfined_t, unconfined_r) ')