[PATCH] rust: drm: Drop the use of Opaque for ioctl arguments
Daniel Almeida
daniel.almeida at collabora.com
Fri Jun 20 13:42:09 UTC 2025
Hi Beata,
> There is no concurrent access nor shared references, unless the
> handler decides otherwise
It can’t do so in safe code. There is no way to manufacture a shared
reference from a mutable one in safe code and if it passes that to C, then
it’s already using a unsafe block for the ffi call.
Unless I missed something?
— Daniel
More information about the dri-devel
mailing list