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 71D951381F3 for ; Thu, 15 Aug 2013 11:44:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7B5AE0DC2; Thu, 15 Aug 2013 11:44:52 +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 ED050E0B9F for ; Thu, 15 Aug 2013 11:44:51 +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 E8B8533EBFB for ; Thu, 15 Aug 2013 11:44:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 69F5EE545D for ; Thu, 15 Aug 2013 11:44:49 +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: <1376566950.0782f8b96882dd12bcf12d27abd283bbc6489901.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/dmesg.te X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 0782f8b96882dd12bcf12d27abd283bbc6489901 X-VCS-Branch: master Date: Thu, 15 Aug 2013 11:44:49 +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: bc04ffcd-10d2-4500-80bc-4ba4773cdb0d X-Archives-Hash: 352812f3421a11482846a1c1b277c557 commit: 0782f8b96882dd12bcf12d27abd283bbc6489901 Author: Sven Vermeulen siphos be> AuthorDate: Thu Aug 15 11:42:30 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Aug 15 11:42:30 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=0782f8b9 Move to distro_gentoo block --- policy/modules/admin/dmesg.te | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/policy/modules/admin/dmesg.te b/policy/modules/admin/dmesg.te index 12f7627..9124163 100644 --- a/policy/modules/admin/dmesg.te +++ b/policy/modules/admin/dmesg.te @@ -27,7 +27,6 @@ kernel_list_proc(dmesg_t) kernel_read_proc_symlinks(dmesg_t) dev_read_sysfs(dmesg_t) -dev_dontaudit_rw_generic_chr_files(dmesg_t) # early access when /dev/console isn't relabeled by udev yet fs_search_auto_mountpoints(dmesg_t) @@ -57,3 +56,11 @@ optional_policy(` optional_policy(` udev_read_db(dmesg_t) ') + +ifdef(`distro_gentoo',` + ######################### + # + # dmesg_t policy + # + dev_dontaudit_rw_generic_chr_files(dmesg_t) # early access when /dev/console is not relabeled by udev yet +')