Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265805AbUFDSLE (ORCPT ); Fri, 4 Jun 2004 14:11:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265889AbUFDSLE (ORCPT ); Fri, 4 Jun 2004 14:11:04 -0400 Received: from [65.39.167.249] ([65.39.167.249]:45960 "HELO innerfire.net") by vger.kernel.org with SMTP id S265805AbUFDSLB (ORCPT ); Fri, 4 Jun 2004 14:11:01 -0400 Date: Fri, 4 Jun 2004 14:11:00 -0400 (EDT) From: Gerhard Mack To: Arjan van de Ven cc: Linus Torvalds , Andy Lutomirski , Ingo Molnar , Andi Kleen , Kernel Mailing List , Andrew Morton , suresh.b.siddha@intel.com, jun.nakajima@intel.com Subject: Re: [announce] [patch] NX (No eXecute) support for x86, 2.6.7-rc2-bk2 In-Reply-To: <20040604155138.GG16897@devserv.devel.redhat.com> Message-ID: References: <20040602205025.GA21555@elte.hu> <20040603230834.GF868@wotan.suse.de> <20040604092552.GA11034@elte.hu> <200406040826.15427.luto@myrealbox.com> <20040604154142.GF16897@devserv.devel.redhat.com> <20040604155138.GG16897@devserv.devel.redhat.com> 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: 929 Lines: 26 On Fri, 4 Jun 2004, Arjan van de Ven wrote: > I know that in a FC1 full install there are less than 5 binaries that don't > run with NX. (one uses nested functions in C and passes function pointers to > the inner function around which causes gcc to emit a stack trampoline, and > gcc then marks the binary as non-NX, the others have asm in them that we > didn't fix in time to be properly marked). Can you tell if GCC uses trampolines for all use of function pointers or just ones that use nested functions ? Also, what is the fastest way to check if GCC is marking non-NX? Gerhard -- Gerhard Mack gmack@innerfire.net <>< As a computer I find your faith in technology amusing. - 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/