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 633E0138202 for ; Fri, 19 Oct 2012 15:07:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD4F8E068F; Fri, 19 Oct 2012 15:06:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 29BF2E0686 for ; Fri, 19 Oct 2012 15:06:55 +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 880BB33DA58 for ; Fri, 19 Oct 2012 15:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 95798E544F for ; Fri, 19 Oct 2012 15:06:52 +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: <1350659038.f9d0d35f1e596cfb361ae4b40ff970e51292a235.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.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: f9d0d35f1e596cfb361ae4b40ff970e51292a235 X-VCS-Branch: master Date: Fri, 19 Oct 2012 15:06:52 +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: 85ede079-3029-4a94-9674-6cad5188f8e2 X-Archives-Hash: 4ad270ee61bbda61a08441fd6598512e commit: f9d0d35f1e596cfb361ae4b40ff970e51292a235 Author: Dominick Grift gmail com> AuthorDate: Wed Oct 17 12:29:18 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Fri Oct 19 15:03:58 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f9d0d35f Changes to the kernel policy module Interface is needed by at least plymouth Signed-off-by: Dominick Grift gmail.com> --- policy/modules/kernel/kernel.if | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index b28953e..881aaa1 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -565,6 +565,25 @@ interface(`kernel_dontaudit_request_load_module',` ######################################## ## +## Connect to kernel using a unix +## domain stream socket. +## +## +## +## Domain allowed access. +## +## +# +interface(`kernel_stream_connect',` + gen_require(` + type kernel_t; + ') + + allow $1 kernel_t:unix_stream_socket connectto; +') + +######################################## +## ## Get information on all System V IPC objects. ## ##