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 144C51384B4 for ; Thu, 17 Dec 2015 18:49:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6799FE086F; Thu, 17 Dec 2015 18:49:45 +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 04FB7E087E for ; Thu, 17 Dec 2015 18:49:44 +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 00E5A340139 for ; Thu, 17 Dec 2015 18:49:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9DB3CB0 for ; Thu, 17 Dec 2015 18:49:41 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1450365922.3a34bdec305591d9452b07c29d59c61a6c365d81.perfinion@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/kernel.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 3a34bdec305591d9452b07c29d59c61a6c365d81 X-VCS-Branch: next Date: Thu, 17 Dec 2015 18:49:41 +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: cbc0325a-939c-4617-b580-647e061d5b9d X-Archives-Hash: d6e4f24daa3ab8f1bd30481b36b5ecaf Message-ID: <20151217184941.zNeiHo0Y-jYG8CZafu-I_ZhG-CdGjbn5W1Lo76Uu_Qk@z> commit: 3a34bdec305591d9452b07c29d59c61a6c365d81 Author: Dominick Grift gmail com> AuthorDate: Thu Dec 10 16:08:27 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 17 15:25:22 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3a34bdec kernel: implement sysctl_vm_overcommit_t for /proc/sys/vm/overcommit_memory Whoever requires this type first gets to create the interfaces to operate on this object Signed-off-by: Dominick Grift gmail.com> policy/modules/kernel/kernel.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te index 0de538c..2625e2f 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te @@ -153,6 +153,9 @@ genfscon proc /sys/net/unix gen_context(system_u:object_r:sysctl_net_unix_t,s0) type sysctl_vm_t, sysctl_type; genfscon proc /sys/vm gen_context(system_u:object_r:sysctl_vm_t,s0) +type sysctl_vm_overcommit_t, sysctl_type; +genfscon proc /sys/vm/overcommit_memory gen_context(system_u:object_r:sysctl_vm_overcommit_t,s0) + # /proc/sys/dev directory and files type sysctl_dev_t, sysctl_type; genfscon proc /sys/dev gen_context(system_u:object_r:sysctl_dev_t,s0)