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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 511 bytes |
Makefile | -rw-r--r-- | 260 bytes |
bfind.c | -rw-r--r-- | 4.4 KB |
bitmap.c | -rw-r--r-- | 4.8 KB |
bnode.c | -rw-r--r-- | 15.1 KB |
brec.c | -rw-r--r-- | 12.8 KB |
btree.c | -rw-r--r-- | 7.8 KB |
catalog.c | -rw-r--r-- | 10.5 KB |
dir.c | -rw-r--r-- | 12.0 KB |
extents.c | -rw-r--r-- | 13.8 KB |
hfsplus_fs.h | -rw-r--r-- | 12.4 KB |
hfsplus_raw.h | -rw-r--r-- | 7.3 KB |
inode.c | -rw-r--r-- | 15.5 KB |
ioctl.c | -rw-r--r-- | 5.0 KB |
options.c | -rw-r--r-- | 4.4 KB |
part_tbl.c | -rw-r--r-- | 3.6 KB |
super.c | -rw-r--r-- | 15.4 KB |
tables.c | -rw-r--r-- | 119.1 KB |
unicode.c | -rw-r--r-- | 8.9 KB |
wrapper.c | -rw-r--r-- | 4.9 KB |
Computing file changes ...