]> git.hungrycats.org Git - linux/commit
[PATCH] Fix and harden validate_mm
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:17:51 +0000 (16:17 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:17:51 +0000 (16:17 -0800)
commit127419b166cc6653900333f1826b5b47e6f18f2c
tree96d273509c1a1c6643ab1b7be17f2809dfcde9a1
parent3745aa40a802b0dcd7611f2b57728f5f2bbf7d06
[PATCH] Fix and harden validate_mm

From: Andi Kleen <ak@muc.de>

I was debugging some code that corrupted the vma rb lists and for that I
fixed validate_mm to not be recursive and do some more checks.

It's slower now, but that shouldn't be a problem.

Also make it non static to allow easier checks elsewhere.
mm/mmap.c