Re: [PATCH] Add range_is_allowed() check to mmap of /dev/mem

From: Ingo Molnar
Date: Fri Mar 07 2008 - 03:38:24 EST



* Venki Pallipadi <venkatesh.pallipadi@xxxxxxxxx> wrote:

> Earlier patch that introduced CONFIG_NONPROMISC_DEVMEM, did the
> range_is_allowed() check only for read and write. Add
> range_is_allowed() check to mmap of /dev/mem as well.
>
> Changes the paramaters of range_is_allowed() to pfn and size to handle
> more than 32 bits of physical address on 32 bit arch cleanly.

thanks, applied.

Ingo
--
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/