Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760796AbXIQV5o (ORCPT ); Mon, 17 Sep 2007 17:57:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760914AbXIQV51 (ORCPT ); Mon, 17 Sep 2007 17:57:27 -0400 Received: from namei.org ([69.55.235.186]:38662 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760883AbXIQV50 (ORCPT ); Mon, 17 Sep 2007 17:57:26 -0400 Date: Mon, 17 Sep 2007 14:56:46 -0700 (PDT) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: Stephen Smalley cc: Yuichi Nakamura , selinux@tycho.nsa.gov, Eric Paris , kaigai@ak.jp.nec.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selinux: Improving SELinux read/write performance In-Reply-To: <1190061915.4034.78.camel@moss-spartans.epoch.ncsc.mil> Message-ID: References: <20070914092048.C8F1.YNAKAM@hitachisoft.jp> <1190061915.4034.78.camel@moss-spartans.epoch.ncsc.mil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 26 On Mon, 17 Sep 2007, Stephen Smalley wrote: > > It reduces the selinux overhead on read/write by only revalidating > > permissions in selinux_file_permission if the task or inode labels have > > changed or the policy has changed since the open-time check. A new LSM > > hook, security_dentry_open, is added to capture the necessary state at > > open time to allow this optimization. > > > > Signed-off-by: Yuichi Nakamura > > Thanks, looks good. > > Acked-by: Stephen Smalley Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/