revoke-special-mmap-handling
commit75258bdcdc3da92fe0c5dc60adaebcf451633f25
authorPekka Enberg <penberg@cs.helsinki.fi>
Tue, 6 Nov 2007 02:21:51 +0000 (6 02:21 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:30:01 +0000 (14 11:30 +0000)
tree684f89f2b2f7a7f8d81d02edcbb26a5ff4ebcaf5
parentb5c9a95be36674b9f0fedb2e620367ffe6aa92e8
revoke-special-mmap-handling

This adds special handling for revoked memory mappings.  We want to raise
SIGBUS when accessing revoked mappings and return ENODEV when trying to remap
with mmap(2).

Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
mm/memory.c
mm/mmap.c