Revision fc1c183353a113c71675fecd0485e5aa0fe68d72 authored by Pekka Enberg on 07 April 2010, 16:23:40 UTC, committed by Linus Torvalds on 09 April 2010, 17:09:50 UTC
As suggested by Linus, introduce a kern_ptr_validate() helper that does some
sanity checks to make sure a pointer is a valid kernel pointer.  This is a
preparational step for fixing SLUB kmem_ptr_validate().

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4dc86ae
History
File Mode Size
Kconfig -rw-r--r-- 442 bytes
Makefile -rw-r--r-- 326 bytes
netlabel_addrlist.c -rw-r--r-- 10.4 KB
netlabel_addrlist.h -rw-r--r-- 6.3 KB
netlabel_cipso_v4.c -rw-r--r-- 21.3 KB
netlabel_cipso_v4.h -rw-r--r-- 4.8 KB
netlabel_domainhash.c -rw-r--r-- 21.0 KB
netlabel_domainhash.h -rw-r--r-- 3.4 KB
netlabel_kapi.c -rw-r--r-- 28.2 KB
netlabel_mgmt.c -rw-r--r-- 20.1 KB
netlabel_mgmt.h -rw-r--r-- 6.3 KB
netlabel_unlabeled.c -rw-r--r-- 43.3 KB
netlabel_unlabeled.h -rw-r--r-- 7.0 KB
netlabel_user.c -rw-r--r-- 3.1 KB
netlabel_user.h -rw-r--r-- 1.9 KB

back to top