On Fri Jun 28, 2019 at 10:37 AM Simon Ser wrote: > I'm now wondering if DRM leasing is that much different from xdg-shell > set_fullscreen requests. > > Is DRM leasing that much of a big deal regarding security? (Especially > if the compositor has a policy to lease only non-desktop outputs) > > One thing I'm concerned about is buffers read access. Someone posted a > Weston patch [1] to remove framebuffers when switching VTs, because the > new master could potentially read them. > > Would this type of thing be possible with DRM leases? Could a lessee > read buffers from the compositor's connectors? > > [1]: https://gitlab.freedesktop.org/wayland/weston/merge_requests/175
I tested this by acquiring a DRM lease and then attempting to mmap a framebuffer which was not included in the lease - EPERM. _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel