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 C1F86138010 for ; Fri, 19 Oct 2012 15:08:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AD4021C06A; Fri, 19 Oct 2012 15:06:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B4538E0675 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 A50FF33DA5C 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 C0382E5450 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: <1350659039.c3ec24892e444740137b414c736b9805be5515c7.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: c3ec24892e444740137b414c736b9805be5515c7 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: b365c05a-d80b-47a8-ace4-1c5236c62d4a X-Archives-Hash: 06c23dc051348bb4bde74dbc96b35e7f commit: c3ec24892e444740137b414c736b9805be5515c7 Author: Chris PeBenito tresys com> AuthorDate: Fri Oct 19 13:18:19 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Fri Oct 19 15:03:59 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=c3ec2489 Move kernel_stream_connect() declaration. --- policy/modules/kernel/kernel.if | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 881aaa1..ee01f48 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -254,6 +254,25 @@ interface(`kernel_rw_pipes',` ######################################## ## +## 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; +') + +######################################## +## ## Read and write kernel unix datagram sockets. ## ## @@ -565,25 +584,6 @@ 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. ## ##