xserver/miext
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Fourdan 019c4c4dc8 miext/sync: Handle SIGBUS from truncated shm fences
A client can truncate the shared memory backing a DRI3/xshmfence sync
fence and cause SIGBUS when the server accesses it.

Register the mapping with busfault and wrap xshmfence accesses with
sigsetjmp so truncation unwinds safely, then discard the mapping while
keeping the fence XID.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Assisted-by: AI
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/work_items/1911
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2270>
(cherry picked from commit cd083d9659)
(cherry picked from commit 51459413d9)
2026-10-09 11:20:06 +02:00
..
damage damage: Unlink a damage from the list it was actually inserted on 2026-10-05 09:24:28 +02:00
rootless rootless: Fix two region leaks 2026-08-24 12:39:58 +02:00
shadow treewide: remove "lib" prefix in static_library names (meson) 2025-07-03 12:01:52 +02:00
sync miext/sync: Handle SIGBUS from truncated shm fences 2026-10-09 11:20:06 +02:00
extinit_priv.h pseudoramiX: unexport noPseudoramiXExtension 2025-11-19 13:32:31 +01:00