-
Hugh Dickins authored
Sometimes /proc/<pid>/status shows VmLib: 42949..... kB. mprotect_fixup must note oldflags on entry: if vma_merge is successful, vma->vm_flags afterwards may be either the oldflags or the newflags, and the extent of the change will be less than the extent of the vma. And let's use unsigned long for these flags throughout. Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: William Lee Irwin III <wli@holomorphy.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2f16b7a1