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 |
---|---|---|
ccids | ||
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 828 bytes |
ackvec.c | -rw-r--r-- | 12.7 KB |
ackvec.h | -rw-r--r-- | 3.3 KB |
ccid.c | -rw-r--r-- | 5.2 KB |
ccid.h | -rw-r--r-- | 7.6 KB |
dccp.h | -rw-r--r-- | 15.4 KB |
diag.c | -rw-r--r-- | 1.9 KB |
feat.c | -rw-r--r-- | 41.4 KB |
feat.h | -rw-r--r-- | 4.7 KB |
input.c | -rw-r--r-- | 21.7 KB |
ipv4.c | -rw-r--r-- | 27.8 KB |
ipv6.c | -rw-r--r-- | 32.6 KB |
ipv6.h | -rw-r--r-- | 822 bytes |
minisocks.c | -rw-r--r-- | 8.2 KB |
options.c | -rw-r--r-- | 15.1 KB |
output.c | -rw-r--r-- | 18.3 KB |
probe.c | -rw-r--r-- | 4.8 KB |
proto.c | -rw-r--r-- | 27.7 KB |
sysctl.c | -rw-r--r-- | 2.8 KB |
timer.c | -rw-r--r-- | 7.4 KB |
Computing file changes ...