xserver/miext
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Fourdan 84d53bf2f0 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)
2026-10-20 19:47:40 +02:00
..
damage
rootless
shadow
sync miext/sync: Handle SIGBUS from truncated shm fences 2026-10-20 19:47:40 +02:00
extinit_priv.h meson_options: disable XvMC build by default 2026-10-13 14:16:38 +02:00