All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: akpm@osdl.org
Cc: linux-arch@vger.kernel.org, jbaron@redhat.com, ak@muc.de,
	alan@lxorguk.ukuu.org.uk, arjan@linux.intel.com,
	benh@kernel.crashing.org, geert@linux-m68k.org, hugh@veritas.com,
	kkojima@rr.iij4u.or.jp, lethal@linux-sh.org, paulus@samba.org,
	rmk@arm.linux.org.uk, spyro@f2s.com, tony.luck@intel.com,
	zippel@linux-m68k.org
Subject: Re: [patch 1/1] make PROT_WRITE imply PROT_READ
Date: Sat, 16 Sep 2006 01:40:37 +0100	[thread overview]
Message-ID: <20060916004037.GB4243@linux-mips.org> (raw)
In-Reply-To: <200609150139.k8F1dl7Y014791@shell0.pdx.osdl.net>

On Thu, Sep 14, 2006 at 06:39:47PM -0700, akpm@osdl.org wrote:

> (akpm: needs to be split into nine patches and fed through arch trees. 
> Later.)
> 
> (err, make it's easier to just collect some acks?)

MIPS (with the exception of the 4KSd) is also affected; I've just commited
below patch.

  Ralf

diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c
index e3a6172..a4f8c45 100644
--- a/arch/mips/mm/fault.c
+++ b/arch/mips/mm/fault.c
@@ -89,7 +89,7 @@ good_area:
 		if (!(vma->vm_flags & VM_WRITE))
 			goto bad_area;
 	} else {
-		if (!(vma->vm_flags & (VM_READ | VM_EXEC)))
+		if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)))
 			goto bad_area;
 	}
 

  parent reply	other threads:[~2006-09-16  0:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-15  1:39 [patch 1/1] make PROT_WRITE imply PROT_READ akpm
2006-09-15  4:53 ` Arjan van de Ven
2006-09-15 11:10   ` Alan Cox
2006-09-15  8:06 ` Geert Uytterhoeven
2006-09-15 10:58   ` Alan Cox
2006-09-15  8:47 ` Andi Kleen
2006-09-15 11:12 ` Alan Cox
2006-09-16  0:40 ` Ralf Baechle [this message]
2006-09-17 11:59 ` Paul Mundt
2006-09-17 20:24 ` Chris Wedgwood
2006-09-17 20:48   ` Arjan van de Ven
2006-09-17 21:14   ` Alan Cox
2006-09-17 21:05     ` Arjan van de Ven
2006-09-18  0:57     ` Chris Wedgwood
2006-09-18  2:03       ` Paul Mackerras
2006-09-18  4:31         ` Chris Wedgwood
2006-09-18  8:15           ` Geert Uytterhoeven
2006-09-18  9:26       ` Alan Cox

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=20060916004037.GB4243@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arjan@linux.intel.com \
    --cc=benh@kernel.crashing.org \
    --cc=geert@linux-m68k.org \
    --cc=hugh@veritas.com \
    --cc=jbaron@redhat.com \
    --cc=kkojima@rr.iij4u.or.jp \
    --cc=lethal@linux-sh.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=spyro@f2s.com \
    --cc=tony.luck@intel.com \
    --cc=zippel@linux-m68k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.