Re: [PATCH] check mmap range in /proc/bus/pci too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, October 23, 2008 5:23 pm David Miller wrote:
> From: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
> Date: Thu, 23 Oct 2008 15:55:16 -0700
>
> > /proc/bus/pci allows you to mmap resource ranges too, so we should
> > probably be checking to make sure the mapping is somewhat valid.
> >
> > My main concern with this patch is that existing userland may be taking
> > advantage of the lax checking to map non-resource ranges, but we can
> > always back it out if that turns out to be the case.  Anyway, comments &
> > review appreciated as usual.
>
> Thanks for doing this, after this is in I can finally remove the checks
> in the sparc PCI mmap code.
>
> I think this change should be safe wrt. the previous lax checking.

Cool.  I don't think there's any hurry here, so I'll just queue it up for 
2.6.29.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux