From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268153AbUHKSQX (ORCPT ); Wed, 11 Aug 2004 14:16:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268139AbUHKSQX (ORCPT ); Wed, 11 Aug 2004 14:16:23 -0400 Received: from fw.osdl.org ([65.172.181.6]:20888 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S268154AbUHKSQN (ORCPT ); Wed, 11 Aug 2004 14:16:13 -0400 Date: Wed, 11 Aug 2004 11:16:09 -0700 From: Chris Wright To: davidm@hpl.hp.com Cc: Chris Wright , James Morris , Alan Cox , Kurt Garloff , Linux Kernel Mailing List , Stephen Smalley , Greg KH Subject: Re: [PATCH] [LSM] Rework LSM hooks Message-ID: <20040811111609.H1924@build.pdx.osdl.net> References: <20040810131217.Q1924@build.pdx.osdl.net> <16665.56613.143598.768389@napali.hpl.hp.com> <20040811082510.D1924@build.pdx.osdl.net> <16666.24955.224034.291755@napali.hpl.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16666.24955.224034.291755@napali.hpl.hp.com>; from davidm@napali.hpl.hp.com on Wed, Aug 11, 2004 at 11:12:11AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * David Mosberger (davidm@napali.hpl.hp.com) wrote: > The macro I had in mind works only for static (compile-time) > predictions, I'm afraid. Ah, shoot. Well, I don't like the penalty from the unlikely() approach, so we should keep it as-is unless there's another clever solution lurking. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net