From: Johannes W. <ha...@sa...> - 2008-06-20 08:55:16
|
Hi, Dave Airlie <ai...@li...> writes: >> There is also an oops fixer reported in the drm ioctl handler. >> commit 41ee2ff404ec76194315aeed57ac973b010abe1d >> Author: Johannes Weiner <ha...@sa...> >> Date: Fri Jun 13 15:04:40 2008 +1000 >> >> drm: use drms ioctl cmd not what we get passed from userspace. >> >> This enforces us to use the drm ioctl types so read/write works correctly and not believe >> what userspace tells us. >> >> It does this hopefully without breaking the drm api. >> >> Fixes bug from thread: BUG: unable to handle kernel NULL pointer dereference (drm_getunique) >> >> Signed-off-by: Dave Airlie <ai...@re...> Reported-by: Sitsofe Wheeler <si...@ya...> Signed-off-by: Johannes Weiner <ha...@sa...> That was only a proposal, to which you did not reply at all [1] and just silently picked it (without the credits). Not very polite. Hannes [1] http://lkml.org/lkml/2008/6/5/250 |