]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0df947b042c9c0081f58d17cc3c67ebb349f87e
tree0364591da4cc991dff5f49feee8fff710a2ab458
parent1a4a00bf75c3927f0c383dd00da4bc28adc4b02d
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