Re: [PATCH 1/2] slab: Generify kernel pointer validation
From: Christoph Lameter
Date: Wed Apr 07 2010 - 12:56:15 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/