From: Greg KH <gregkh@suse.de>
To: linux-kernel@vger.kernel.org, stable@kernel.org, torvalds@osdl.org
Subject: Re: Linux 2.6.16.7
Date: Mon, 17 Apr 2006 21:23:45 -0700 [thread overview]
Message-ID: <20060418042345.GB11061@kroah.com> (raw)
In-Reply-To: <20060418042300.GA11061@kroah.com>
diff --git a/Makefile b/Makefile
index 7959505..06a8926 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 16
-EXTRAVERSION = .6
+EXTRAVERSION = .7
NAME=Sliding Snow Leopard
# *DOCUMENTATION*
diff --git a/mm/madvise.c b/mm/madvise.c
index af3d573..4e19615 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -168,6 +168,9 @@ static long madvise_remove(struct vm_are
return -EINVAL;
}
+ if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE))
+ return -EACCES;
+
mapping = vma->vm_file->f_mapping;
offset = (loff_t)(start - vma->vm_start)
next prev parent reply other threads:[~2006-04-18 4:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 4:23 Linux 2.6.16.7 Greg KH
2006-04-18 4:23 ` Greg KH [this message]
2006-04-18 6:58 ` Alexander E. Patrakov
2006-04-18 15:39 ` Greg KH
2006-04-18 18:52 ` Nick Warne
2006-04-18 19:06 ` Greg KH
2006-04-18 20:18 ` Nick Warne
2006-04-19 4:22 ` Alexander E. Patrakov
2006-04-19 4:41 ` David S. Miller
2006-04-20 22:20 ` [stable] " Greg KH
2006-04-21 17:25 ` Hotplug race on name change Stephen Hemminger
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=20060418042345.GB11061@kroah.com \
--to=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.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