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-- 3.4 KB
Makefile -rw-r--r-- 388 bytes
acl.c -rw-r--r-- 10.4 KB
acl.h -rw-r--r-- 1.5 KB
balloc.c -rw-r--r-- 54.5 KB
bitmap.c -rw-r--r-- 702 bytes
dir.c -rw-r--r-- 13.5 KB
ext3_jbd.c -rw-r--r-- 1.5 KB
file.c -rw-r--r-- 2.2 KB
fsync.c -rw-r--r-- 2.8 KB
hash.c -rw-r--r-- 4.3 KB
ialloc.c -rw-r--r-- 21.1 KB
inode.c -rw-r--r-- 100.7 KB
ioctl.c -rw-r--r-- 7.7 KB
namei.c -rw-r--r-- 66.8 KB
namei.h -rw-r--r-- 170 bytes
resize.c -rw-r--r-- 33.5 KB
super.c -rw-r--r-- 82.5 KB
symlink.c -rw-r--r-- 1.3 KB
xattr.c -rw-r--r-- 34.6 KB
xattr.h -rw-r--r-- 3.8 KB
xattr_security.c -rw-r--r-- 1.9 KB
xattr_trusted.c -rw-r--r-- 1.5 KB
xattr_user.c -rw-r--r-- 1.6 KB

back to top