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 3176013877A for ; Wed, 25 Jun 2014 19:07:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80B69E083E; Wed, 25 Jun 2014 19:06:56 +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 D5FF4E0838 for ; Wed, 25 Jun 2014 19:06:50 +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 1324B340022 for ; Wed, 25 Jun 2014 19:06:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 12CB31914E for ; Wed, 25 Jun 2014 19:06:47 +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: <1403722761.6875eb43810a516b4451a830602237d59f331acc.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/storage.fc X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 6875eb43810a516b4451a830602237d59f331acc X-VCS-Branch: master Date: Wed, 25 Jun 2014 19:06:47 +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: c2699ddb-52c3-44dc-946b-fb33588334c7 X-Archives-Hash: c854f8f35a976b50fb11cd2a16c21507 commit: 6875eb43810a516b4451a830602237d59f331acc Author: Jason Zaman perfinion com> AuthorDate: Mon Jun 23 18:46:53 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Jun 25 18:59:21 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6875eb43 File contexts for zram zram is a compressed block device in ram Signed-off-by: Jason Zaman perfinion.com> --- policy/modules/kernel/storage.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/storage.fc b/policy/modules/kernel/storage.fc index 4dd865b..73599f3 100644 --- a/policy/modules/kernel/storage.fc +++ b/policy/modules/kernel/storage.fc @@ -59,6 +59,7 @@ ifdef(`distro_redhat', ` /dev/zd.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) /dev/zfs -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) /dev/zpios -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) +/dev/zram[0-9]+ -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) /dev/ataraid/.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)