lkml.org 
[lkml]   [2004]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: Non-Exec stack patches
    Date
    From
    > -----Original Message-----
    > From: linux-kernel-owner@vger.kernel.org
    > [mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Andrew Morton
    > Sent: Tuesday, March 23, 2004 4:41 PM
    > To: Kurt Garloff
    > Cc: linux-kernel@vger.kernel.org; mingo@redhat.com
    > Subject: Re: Non-Exec stack patches
    >
    >
    > Kurt Garloff <garloff@suse.de> wrote:
    > >
    > > > Which architectures are currently making their pre-page
    > execute permissions
    > > > depend upon VM_EXEC? Would additional arch patches be
    > needed for this?
    > >
    > > It works on AMD64 (not ia32e), both for 64bit and 32bit binaries.
    > > I have not yet tested other archs.
    > >
    > > If the values in the protection_map are different depending
    > on bit 2,
    > > the patch will be effecitve. (OK, the CPU/MMU needs to honour the
    > > setting of course.) Most likely, the values for
    > > protection_map[7] is PAGE_COPY_EXEC and of protection_map[3] is
    > > PAGE_COPY.
    >
    > OK.
    >

    Recent ia64 mm trees are broken because of this issue. Attached patch fixes protection_map[7] in IA64.

    thanks,
    suresh
    [unhandled content-type:application/octet-stream]
    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:4.551 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site