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 EA1B21389E2 for ; Fri, 28 Nov 2014 10:04:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4339E0895; Fri, 28 Nov 2014 10:04:09 +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 D7493E08AC for ; Fri, 28 Nov 2014 10:04:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E85103404A2 for ; Fri, 28 Nov 2014 10:04:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4BA38B152 for ; Fri, 28 Nov 2014 10:04:04 +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: <1417122038.8a743e507cd42248d705907e7bcb42e268bfab9a.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/lvm.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 8a743e507cd42248d705907e7bcb42e268bfab9a X-VCS-Branch: next Date: Fri, 28 Nov 2014 10:04:04 +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: eefa23ae-2c13-4b99-ad1f-52c54898f954 X-Archives-Hash: 474fbe0f8c4a2634f5d1c7b874022372 commit: 8a743e507cd42248d705907e7bcb42e268bfab9a Author: Sven Vermeulen siphos be> AuthorDate: Thu Nov 27 21:00:38 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Nov 27 21:00:38 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=8a743e50 Fix bug 530918 - Allow lvm_t socket creation perms to handle cryptsetup luksFormat --- policy/modules/system/lvm.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/lvm.te b/policy/modules/system/lvm.te index c9fba08..a5952f7 100644 --- a/policy/modules/system/lvm.te +++ b/policy/modules/system/lvm.te @@ -361,6 +361,9 @@ ifdef(`distro_gentoo',` # Local lvm policy # + # cryptsetup support bug 530918 + allow lvm_t self:socket create_stream_socket_perms; + create_dirs_pattern(lvm_t, lvm_etc_t, lvm_metadata_t) filetrans_pattern(lvm_t, lvm_etc_t, lvm_metadata_t, dir, "cache") 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 51A651389E2 for ; Thu, 27 Nov 2014 21:02:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AFF1E0872; Thu, 27 Nov 2014 21:02:01 +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 C423EE0872 for ; Thu, 27 Nov 2014 21:02:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E769934038F for ; Thu, 27 Nov 2014 21:01:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F625B0AA for ; Thu, 27 Nov 2014 21:01:58 +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: <1417122038.8a743e507cd42248d705907e7bcb42e268bfab9a.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/lvm.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 8a743e507cd42248d705907e7bcb42e268bfab9a X-VCS-Branch: master Date: Thu, 27 Nov 2014 21:01:58 +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: 68c080ab-2b49-4965-ad38-29fd63a96dc0 X-Archives-Hash: 7c381ea2d5852ca2bc8468fd15727cfd Message-ID: <20141127210158._Y8PadbkqxF0xupKAhYUE8GH4AhjeVBWn6C9d1m3uJo@z> commit: 8a743e507cd42248d705907e7bcb42e268bfab9a Author: Sven Vermeulen siphos be> AuthorDate: Thu Nov 27 21:00:38 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Nov 27 21:00:38 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=8a743e50 Fix bug 530918 - Allow lvm_t socket creation perms to handle cryptsetup luksFormat --- policy/modules/system/lvm.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/lvm.te b/policy/modules/system/lvm.te index c9fba08..a5952f7 100644 --- a/policy/modules/system/lvm.te +++ b/policy/modules/system/lvm.te @@ -361,6 +361,9 @@ ifdef(`distro_gentoo',` # Local lvm policy # + # cryptsetup support bug 530918 + allow lvm_t self:socket create_stream_socket_perms; + create_dirs_pattern(lvm_t, lvm_etc_t, lvm_metadata_t) filetrans_pattern(lvm_t, lvm_etc_t, lvm_metadata_t, dir, "cache")