<liquidAcid>
i looked at some stackoverflow posts about ioctls and copy_from_user and i got the impression that i should check this
<javier__>
liquidAcid: well you should if your driver has a callback for a ioctl
<javier__>
but it seems there is an indirection level for DRM drivers
* javier__
knows nothing about DRM/KMS
<javier__>
liquidAcid: I mean, DRM drivers don't register a struct file_operations with an .ioctl callback but instead defines a set of DRM specific ioctl handlers and the core register the drm_ioctl
<javier__>
liquidAcid: on a second look DRM drivers do register file ops but the .ioctl handler is drm_ioctl, instead of a driver specific ioctl
<javier__>
but you get the idea, the core handles the copy_{from,to}_user so drivers don't have to deal with that
<liquidAcid>
that's one problem less to worry about i guess :)