Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261653AbUCKTU0 (ORCPT ); Thu, 11 Mar 2004 14:20:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261418AbUCKTU0 (ORCPT ); Thu, 11 Mar 2004 14:20:26 -0500 Received: from obsidian.spiritone.com ([216.99.193.137]:45193 "EHLO obsidian.spiritone.com") by vger.kernel.org with ESMTP id S261653AbUCKTUY (ORCPT ); Thu, 11 Mar 2004 14:20:24 -0500 Message-ID: <4050BBA1.2080804@BitWagon.com> Date: Thu, 11 Mar 2004 11:18:57 -0800 From: John Reiser Organization: - User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mike@theoretic.com CC: linux-kernel@vger.kernel.org Subject: Re: [PATCH] binfmt_elf.c allow .bss with no access (p---) References: <1078508281.3065.33.camel@linux.littlegreen> <404A1C71.3010507@redhat.com> <1078607410.10313.7.camel@linux.littlegreen> <404C0B57.6030607@BitWagon.com> <20040308080615.GS31589@devserv.devel.redhat.com> <4050047F.5010808@BitWagon.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 19 >>This ALPHA quality patch against 2.6.3 adds another argument to do_brk() >>which enables having a user ELF .bss with no-access (or read-only). > Does this fix the Wine case where we have a new RO section that isn't the > BSS? Yes, because the patch considers each PT_LOAD with p_filesz < p_memsz to have a "local" .bss. This is more general than plain 2.6.3 which creates only one "global" BSS after accumulating information from all of the PT_LOAD. -- - 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/