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 BA124138A1A for ; Sat, 24 Jan 2015 17:12:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACBB5E08E1; Sat, 24 Jan 2015 17:12:08 +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 4E76AE08E1 for ; Sat, 24 Jan 2015 17:12: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 5E9893406F0 for ; Sat, 24 Jan 2015 17:12:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D18910481 for ; Sat, 24 Jan 2015 17:12:06 +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: <1422118318.28c598a37a62509d884acdb0891e7dba791e6d62.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/domain.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 28c598a37a62509d884acdb0891e7dba791e6d62 X-VCS-Branch: next Date: Sat, 24 Jan 2015 17:12:06 +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: 00eb4290-d950-4611-93b0-4131e715fa24 X-Archives-Hash: fe5e0ab3cc283b79b7ac65facc501b6b commit: 28c598a37a62509d884acdb0891e7dba791e6d62 Author: Sven Vermeulen siphos be> AuthorDate: Sat Jan 24 16:51:58 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat Jan 24 16:51:58 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=28c598a3 Fix bug #529420 - Allow all domains to read vm sysctls --- policy/modules/kernel/domain.te | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/policy/modules/kernel/domain.te b/policy/modules/kernel/domain.te index 3861c8e..451a1be 100644 --- a/policy/modules/kernel/domain.te +++ b/policy/modules/kernel/domain.te @@ -171,3 +171,13 @@ allow unconfined_domain_type domain:key *; # receive from all domains over labeled networking domain_all_recvfrom_all_domains(unconfined_domain_type) + +ifdef(`distro_gentoo',` + ######################################## + # + # Permissions for all domains + # + + # Bug 529420 + kernel_read_vm_sysctls(domain) +')