Re: Incorrect size checks on mmap() for sysfs PCI resource filesis breaking X?

From: Darrick J. Wong
Date: Tue Nov 16 2010 - 03:00:09 EST


On Tue, Nov 16, 2010 at 05:53:35PM +1000, Dave Airlie wrote:
> On Tue, Nov 16, 2010 at 5:22 PM, Darrick J. Wong <djwong@xxxxxxxxxx> wrote:
> > Hi,
> >
> > I just loaded 2.6.37-rc2 on my machines, and I noticed that X no longer starts.
> > Running an strace of the X server shows that it's doing this:
>
> Can you poinpoint when it went wrong? does 2.6.36 work okay?

Yes, 2.6.36 is ok. 2.6.37-rc1 was ok too.

> Just trying to figure out where the regression arrived.

Looks like it's commit 3b519e4ea618b6943a82931630872907f9ac2c2b which went in
11 Nov 2010. I just submitted a patch that fixes it, at least for me.

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