Re: [PATCH] x86: Add support for 64bit get_user() on x86-32

From: H. Peter Anvin
Date: Fri Feb 08 2013 - 14:09:36 EST


Yes, or anything else getting a pointer in memory from user space.

"Ville SyrjÃlÃ" <ville.syrjala@xxxxxxxxxxxxxxx> wrote:

>On Fri, Feb 08, 2013 at 09:30:05AM -0800, H. Peter Anvin wrote:
>> On 02/08/2013 08:24 AM, Ville SyrjÃlà wrote:
>> >>
>> >> How have you tested it?
>> >
>> > I've tried it with my drm/kms atomic pageflip/modeset code. I also
>had
>> > a small test module that did a couple of different sized get_user()
>> > calls, but I'll be damned if I can find it again.
>> >
>>
>> Did you see the warning spewage for pointers when you built it?
>
>Apparently my config was too small to genenerate enough of those to
>catch
>my eye. Most of those seem to come from drivers that have pointers in
>their
>ioctl structs, no?

--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
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/