um: Mark stub pages mapping with VM_PFNMAP
authorRichard Weinberger <richard@nod.at>
Sun, 12 May 2013 21:26:03 +0000 (23:26 +0200)
committerRichard Weinberger <richard@nod.at>
Fri, 19 Jul 2013 08:45:17 +0000 (10:45 +0200)
commitdee20035b42d569984d2c16041b51e4d75e233b5
tree0364591da4cc991dff5f49feee8fff710a2ab458
parent3179ce7254ffa43f3ba4409f31a954ecc4a8d408
um: Mark stub pages mapping with VM_PFNMAP

Ensure that a process cannot destroy his stub pages with
using MADV_DONTNEED and friends.

Reported-by: toralf.foerster@gmx.de
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/skas/mmu.c