Skip to content

Shm fix get image

Dave Airlie requested to merge airlied/mesa:shm-fix-get-image into master

It was noticed in testing that using Xephyr -query localhost to open an XDMCP connection and logging in as another user was getting black windows. This was due to the shm permission patch fix that Brian wrote, as user X can't access user Y shm segments.

The shm code was falling back properly for the PutImage paths but the GetImage path has no fallback for the case where the X server had failed to attach to the SHM segment.

This series fixes the fallback paths.

Merge request reports