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 |
---|---|---|
crush | ||
Kconfig | -rw-r--r-- | 821 bytes |
Makefile | -rw-r--r-- | 848 bytes |
README | -rw-r--r-- | 824 bytes |
addr.c | -rw-r--r-- | 32.1 KB |
armor.c | -rw-r--r-- | 1.8 KB |
auth.c | -rw-r--r-- | 5.5 KB |
auth.h | -rw-r--r-- | 2.7 KB |
auth_none.c | -rw-r--r-- | 2.6 KB |
auth_none.h | -rw-r--r-- | 501 bytes |
auth_x.c | -rw-r--r-- | 16.2 KB |
auth_x.h | -rw-r--r-- | 835 bytes |
auth_x_protocol.h | -rw-r--r-- | 1.7 KB |
buffer.c | -rw-r--r-- | 1.6 KB |
buffer.h | -rw-r--r-- | 818 bytes |
caps.c | -rw-r--r-- | 79.2 KB |
ceph_debug.h | -rw-r--r-- | 877 bytes |
ceph_frag.c | -rw-r--r-- | 328 bytes |
ceph_frag.h | -rw-r--r-- | 3.0 KB |
ceph_fs.c | -rw-r--r-- | 1.8 KB |
ceph_fs.h | -rw-r--r-- | 20.2 KB |
ceph_hash.c | -rw-r--r-- | 2.7 KB |
ceph_hash.h | -rw-r--r-- | 435 bytes |
ceph_strings.c | -rw-r--r-- | 5.5 KB |
crypto.c | -rw-r--r-- | 10.1 KB |
crypto.h | -rw-r--r-- | 1.3 KB |
debugfs.c | -rw-r--r-- | 12.1 KB |
decode.h | -rw-r--r-- | 4.2 KB |
dir.c | -rw-r--r-- | 32.9 KB |
export.c | -rw-r--r-- | 5.4 KB |
file.c | -rw-r--r-- | 24.2 KB |
inode.c | -rw-r--r-- | 47.5 KB |
ioctl.c | -rw-r--r-- | 4.3 KB |
ioctl.h | -rw-r--r-- | 1.2 KB |
mds_client.c | -rw-r--r-- | 75.6 KB |
mds_client.h | -rw-r--r-- | 10.0 KB |
mdsmap.c | -rw-r--r-- | 4.1 KB |
mdsmap.h | -rw-r--r-- | 1.2 KB |
messenger.c | -rw-r--r-- | 56.1 KB |
messenger.h | -rw-r--r-- | 8.2 KB |
mon_client.c | -rw-r--r-- | 19.8 KB |
mon_client.h | -rw-r--r-- | 2.9 KB |
msgpool.c | -rw-r--r-- | 4.8 KB |
msgpool.h | -rw-r--r-- | 848 bytes |
msgr.h | -rw-r--r-- | 4.4 KB |
osd_client.c | -rw-r--r-- | 39.5 KB |
osd_client.h | -rw-r--r-- | 5.2 KB |
osdmap.c | -rw-r--r-- | 24.2 KB |
osdmap.h | -rw-r--r-- | 3.7 KB |
pagelist.c | -rw-r--r-- | 1.1 KB |
pagelist.h | -rw-r--r-- | 1.3 KB |
rados.h | -rw-r--r-- | 10.9 KB |
snap.c | -rw-r--r-- | 25.0 KB |
super.c | -rw-r--r-- | 24.7 KB |
super.h | -rw-r--r-- | 26.9 KB |
types.h | -rw-r--r-- | 475 bytes |
xattr.c | -rw-r--r-- | 20.3 KB |
Computing file changes ...