Prev: ext4: memory leakage in ext4_mb_init()
Next: slub: Fix kmem_ptr_validate() for non-kernel pointers
From: Christoph Lameter on 7 Apr 2010 13:00 On Wed, 7 Apr 2010, Pekka Enberg wrote: > +int kern_ptr_validate(const void *ptr, unsigned long size) > +{ > + unsigned long addr = (unsigned long)ptr; > + unsigned long min_addr = PAGE_OFFSET; Use the min_addr from the security subsystem? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: ext4: memory leakage in ext4_mb_init() Next: slub: Fix kmem_ptr_validate() for non-kernel pointers |