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 BE6C11381F3 for ; Thu, 11 Apr 2013 18:04:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A23A2E0AA6; Thu, 11 Apr 2013 18:04:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D323E0AA6 for ; Thu, 11 Apr 2013 18:04:48 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 298AE33DE72 for ; Thu, 11 Apr 2013 18:04:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B7CFFE4073 for ; Thu, 11 Apr 2013 18:04:45 +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: <1365703435.77049dec6323dcf7a72d44ff6b1b1775c1d41baf.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/kernel.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 77049dec6323dcf7a72d44ff6b1b1775c1d41baf X-VCS-Branch: master Date: Thu, 11 Apr 2013 18:04:45 +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: b68afc3a-4a28-4886-868e-ff5f29e15cde X-Archives-Hash: e6a361fe662b8c35c0407e6b263c1204 commit: 77049dec6323dcf7a72d44ff6b1b1775c1d41baf Author: Sven Vermeulen siphos be> AuthorDate: Thu Apr 11 18:03:55 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Apr 11 18:03:55 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=77049dec Undo storage_dev_filetrans_fixed_disk The call to storage_dev_filetrans_fixed_disk will fail since this only works on block devices, whereas device-mapper is a character device. --- policy/modules/kernel/kernel.te | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te index 4a7650e..3f93458 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te @@ -419,6 +419,4 @@ ifdef(`distro_gentoo',` allow kernel_t unlabeled_t:dir search_dir_perms; dev_setattr_generic_chr_files(kernel_t) - - storage_dev_filetrans_fixed_disk(kernel_t, "device-mapper") ')