Messages in this thread | | | Subject | RE: Non-Exec stack patches | Date | Wed, 14 Apr 2004 00:28:24 -0700 | From | "Siddha, Suresh B" <> |
| |
> -----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] | |