> ioctl cmd, and for example trinity likes to fuzz those bits to create > conflicting commands. So instead of relying upon userspace to pass along > the correct IN/OUT flags for the ioctl, use the flags as expected by the > kernel. > > This does have a side-effect that NULL pointers can not be substituted > by userspace in place of a struct. This feature was not being used by > any driver, but instead exposed all of the command handlers to a user > triggerable OOPS. > > Reported-by: Tommi Rantala <tt.rant...@gmail.com> > Link: > http://lkml.kernel.org/r/ca+ydwtpubvbwxbt-tdgpuvj1eu7itmcho_2b3w13hkd5+jw...@mail.gmail.com > Signed-off-by: Tommi Rantala <tt.rant...@gmail.com> > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
Applied thanks. Dave. _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel