drm: introduce DRIVER_FORCE_AUTH
Am 03.07.2019 16:00 schrieb Emil Velikov <[email protected]>:
Quoted 5 lines · Christian
Well this is still a NAK.
As stated previously please just don't remove
DRM_AUTHand keep the functionality as it is.
AFAICT nobody was in favour of your suggestion to remove DRM_AUTH from the handle to/from fd ioclts.
Thus this seems like the second best option.
Well just keep it. As I said please don't change anything here.
Dropping DRM_AUTH from the driver IOCTLs was sufficient to work around the problems at hand far as I know.
And stopping those two at least prevents userspace to abuse this even more.
On the other hand I haven't seen any NAK on dropping DRM_AUTH from them.
Christian.
Third route that I see is doing driver_name == "amdgpu" || driver_name == "radeon" in core.
If you have alternative solution I'm all ears.
-Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): 744310ce-4546-4406-ad8d-49af0f06cd49-2ueSQiBKiTY7tOexoI0I+QC/[email protected]
Quoted 8 lines · Christian
Am 03.07.2019 16:00 schrieb Emil Velikov <[email protected]>:
Quoted 5 lines · Christian
Well this is still a NAK.
As stated previously please just don't remove
DRM_AUTHand keep the functionality as it is.
Quoted 9 lines
AFAICT nobody was in favour of your suggestion to remove
DRM_AUTHfrom the handle to/from fd ioclts.
Thus this seems like the second best option.Well just keep it. As I said please don't change anything here.
Dropping
DRM_AUTHfrom the driver IOCTLs was sufficient to work around the problems at hand far as I know.
We also need the DRM_AUTH for handle to/from fd ones. Mesa drivers use those ioctls.
-Emil
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx