| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH 0/6] MIPS Read Inhibit/eXecute Inhibit support (v2). |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Wed, 10 Feb 2010 16:53:09 -0800 |
| Cc: | linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <20100210235649.GA7975@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <4B733C71.8030304@caviumnetworks.com> <20100210235649.GA7975@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Thunderbird/3.0.1 |
On 02/10/2010 03:56 PM, Ralf Baechle wrote: On Wed, Feb 10, 2010 at 03:08:33PM -0800, David Daney wrote:This patch set adds execute and read inhibit support. By default glibc based tool chains will create mappings for data areas of a program and shared libraries with PROT_EXEC cleared. With this patch applied, a SIGSEGV is correctly sent if an attempt is made to execute from data areas. The first three patch just make a few tweaks in preperation for the main body of the patch in 4/6. The last two turn on the feature for some Octeon CPUs. I will reply with the six patches. David Daney (6): MIPS: Use 64-bit stores to c0_entrylo on 64-bit kernels. MIPS: Add accessor functions and bit definitions for c0_PageGrain MIPS: Add TLBR and ROTR to uasm. MIPS: Implement Read Inhibit/eXecute Inhibit MIPS: Give Octeon+ CPUs their own cputype. MIPS: Enable Read Inhibit/eXecute Inhibit for Octeon+ CPUsHangs on IP27 after [...] Calibrating delay loop... 178.17 BogoMIPS (lpj=89088) Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) Try the attached patch. David Daney
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/6] MIPS Read Inhibit/eXecute Inhibit support (v2)., Ralf Baechle |
|---|---|
| Next by Date: | [PATCH -queue 1/4] MIPS: use generic current.h, Yoichi Yuasa |
| Previous by Thread: | Re: [PATCH 0/6] MIPS Read Inhibit/eXecute Inhibit support (v2)., Ralf Baechle |
| Next by Thread: | [PATCH -queue 1/4] MIPS: use generic current.h, Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |