From: Andrew Morton <akpm@osdl.org>
To: Paul Mackerras <paulus@samba.org>
Cc: torvalds@osdl.org, anton@samba.org, moilanen@austin.ibm.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PPC64 Implement non-executable stacks
Date: Thu, 17 Mar 2005 02:36:00 -0800 [thread overview]
Message-ID: <20050317023600.6582772c.akpm@osdl.org> (raw)
In-Reply-To: <16953.19246.642337.272696@cargo.ozlabs.ibm.com>
Paul Mackerras <paulus@samba.org> wrote:
>
> This patch, by Jake Moilanen with some further hacking from me, adds a
> real execute permission bit to the linux PTEs on PPC64, and connects
> that into the kernel infrastructure for implementing non-executable
> stacks and heaps. This means that on any PPC64 cpu since the POWER4
> (i.e. POWER4, PPC970, PPC970FX, POWER4+, POWER5) you will get a
> segfault if you try to execute instructions from a region that doesn't
> have PROT_EXEC permission. The patch also marks the pages of the
> linear mapping that aren't part of the kernel text as non-executable.
>
> Andrew and Linus, could you try this on your G5s?
Seems to work OK under ydl 4.0. OpenOffice hung once starting up, but that
wasn't repeatable.
prev parent reply other threads:[~2005-03-17 11:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 9:17 Paul Mackerras
2005-03-17 10:36 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050317023600.6582772c.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moilanen@austin.ibm.com \
--cc=paulus@samba.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®