[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1004071145070.13261@router.home>
Date: Wed, 7 Apr 2010 11:55:07 -0500 (CDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Pekka Enberg <penberg@...helsinki.fi>
cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
David Rientjes <rientjes@...gle.com>,
Ingo Molnar <mingo@...e.hu>, Matt Mackall <mpm@...enic.com>,
Nick Piggin <npiggin@...e.de>
Subject: Re: [PATCH 1/2] slab: Generify kernel pointer validation
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists