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: Remove ROOTLESS_WORKAROUND 2026-10-02 16:58:01 +02:00
rootless rootless: Fix two region leaks 2026-10-01 12:59:30 +02:00
shadow miext: parentheses around macro argument symbols 2026-06-24 14:13:33 +02:00
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