From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965962AbXCPV1F (ORCPT ); Fri, 16 Mar 2007 17:27:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965964AbXCPV1F (ORCPT ); Fri, 16 Mar 2007 17:27:05 -0400 Received: from mx1.redhat.com ([66.187.233.31]:50339 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965962AbXCPV1D (ORCPT ); Fri, 16 Mar 2007 17:27:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Ingo Molnar X-Fcc: ~/Mail/linus Cc: Jeremy Fitzhardinge , Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com, Chris Wright , Zachary Amsden , Rusty Russell , Ian Pratt , Christian Limpach , Ulrich Drepper Cc: Jakub Jelinek Subject: Re: [patch 17/26] Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notes In-Reply-To: Ingo Molnar's message of Friday, 16 March 2007 10:15:52 +0100 <20070316091552.GH23174@elte.hu> X-Shopping-List: (1) Sardonic sandwiches (2) Radiant rebellion swindlers (3) Skeptical extemporaneous yies (4) Botanical compassion excitements Message-Id: <20070316212655.B6C6B1801C5@magilla.sf.frob.com> Date: Fri, 16 Mar 2007 14:26:55 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > +NOTE_KERNELCAP_BEGIN(1, 1) > > +NOTE_KERNELCAP(1, "nosegneg") > > +NOTE_KERNELCAP_END This should be: NOTE_KERNELCAP_BEGIN(1, 1) NOTE_KERNELCAP(0, "nosegneg") NOTE_KERNELCAP_END i.e. 1->0 in the "bit" member. (Note the ld.so.conf.d file must have the matching bit number for ldconfig-based lookups to do the right thing.) Or else: NOTE_KERNELCAP_BEGIN(1, 2) NOTE_KERNELCAP(0, "nosegneg") NOTE_KERNELCAP_END i.e. 1->2 in the "mask" member. (The mask value should be 1<