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-- | 541 bytes |
Makefile | -rw-r--r-- | 248 bytes |
balloc.c | -rw-r--r-- | 22.5 KB |
dir.c | -rw-r--r-- | 5.4 KB |
directory.c | -rw-r--r-- | 5.8 KB |
ecma_167.h | -rw-r--r-- | 22.0 KB |
file.c | -rw-r--r-- | 6.2 KB |
ialloc.c | -rw-r--r-- | 4.2 KB |
inode.c | -rw-r--r-- | 58.5 KB |
lowlevel.c | -rw-r--r-- | 1.5 KB |
misc.c | -rw-r--r-- | 7.7 KB |
namei.c | -rw-r--r-- | 35.2 KB |
osta_udf.h | -rw-r--r-- | 8.2 KB |
partition.c | -rw-r--r-- | 8.3 KB |
super.c | -rw-r--r-- | 60.8 KB |
symlink.c | -rw-r--r-- | 2.4 KB |
truncate.c | -rw-r--r-- | 8.8 KB |
udf_i.h | -rw-r--r-- | 742 bytes |
udf_sb.h | -rw-r--r-- | 4.0 KB |
udfdecl.h | -rw-r--r-- | 7.8 KB |
udfend.h | -rw-r--r-- | 1.6 KB |
udftime.c | -rw-r--r-- | 5.8 KB |
unicode.c | -rw-r--r-- | 11.1 KB |
Computing file changes ...