xserver/hw/xwayland
Olivier Fourdan 2ef0f1116c ephyr,xwayland: Use the proper private key for cursor
The cursor in DIX is actually split in two parts, the cursor itself and
the cursor bits, each with their own devPrivates.

The cursor itself includes the cursor bits, meaning that the cursor bits
devPrivates in within structure of the cursor.

Both Xephyr and Xwayland were using the private key for the cursor bits
to store the data for the cursor, and when using XSELINUX which comes
with its own special devPrivates, the data stored in that cursor bits'
devPrivates would interfere with the XSELINUX devPrivates data and the
SELINUX security ID would point to some other unrelated data, causing a
crash in the XSELINUX code when trying to (re)use the security ID.

CVE-2024-0409

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-01-16 09:26:01 +01:00
..
desktop xwayland: set the app_id and install a desktop launcher 2022-06-30 17:53:01 +02:00
man xwayland: Add the output name for fullscreen rootful 2024-01-11 08:45:33 +00:00
.gitignore xwayland: Add wp_viewport wayland extension support 2019-10-12 12:19:14 +02:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build build: Switch to meson 0.56 2024-01-08 10:38:05 +00:00
xwayland-cursor.c ephyr,xwayland: Use the proper private key for cursor 2024-01-16 09:26:01 +01:00
xwayland-cursor.h xwayland: Add xwl_cursor_clear_frame_cb() 2021-10-25 12:05:42 +00:00
xwayland-cvt.c xwayland: Keep the CVT timings for non-standard modes 2023-05-15 10:33:21 +02:00
xwayland-cvt.h xwayland: Move Xwayland CVT declaration 2019-12-20 16:19:01 +01:00
xwayland-drm-lease.c xwayland: Clean up drm lease when terminating. #946 2023-07-17 08:25:39 +00:00
xwayland-drm-lease.h Xwayland: implement drm-lease-v1 2021-12-07 10:02:29 +00:00
xwayland-glamor-eglstream.c glamor: Make glamor_set_alu take a DrawablePtr 2024-01-11 10:03:10 +00:00
xwayland-glamor-gbm.c xwayland: Avoid hardcoding the interface name 2023-11-28 08:57:53 +00:00
xwayland-glamor-xv.c xwayland: Cleanup and remove `xwayland.h` 2019-12-20 16:19:01 +01:00
xwayland-glamor.c xwayland: Use window pixmap as a window buffer 2024-01-10 17:31:42 +00:00
xwayland-glamor.h Xwayland: add "glamor" command line option 2023-11-02 08:18:00 +00:00
xwayland-input.c xwayland: Ensure pointer for gestures has buttons 2023-12-12 11:10:15 -05:00
xwayland-input.h xwayland: hook up wl_pointer.axis_v120 events 2023-01-18 13:33:54 +10:00
xwayland-output.c xwayland: Check for fullscreen on output name change 2024-01-11 08:45:33 +00:00
xwayland-output.h xwayland: Add a function to search for xwl_output by name 2024-01-11 08:45:33 +00:00
xwayland-pixmap.c xwayland: Rename xwl_pixmap_cb → xwl_buffer_release_cb 2020-07-07 13:47:11 +00:00
xwayland-pixmap.h xwayland: Rename xwl_pixmap_cb → xwl_buffer_release_cb 2020-07-07 13:47:11 +00:00
xwayland-present.c xwayland/present: Handle NULL window_priv in xwl_present_cleanup 2023-09-26 14:08:08 +00:00
xwayland-present.h xwayland: add support for wp-tearing-control-v1 2023-06-19 12:19:35 +02:00
xwayland-screen.c xwayland: Add the output name for fullscreen rootful 2024-01-11 08:45:33 +00:00
xwayland-screen.h xwayland: Add an output name for fullscreen 2024-01-11 08:45:33 +00:00
xwayland-shm.c xwayland/shm: Avoid integer overflow on large pixmaps 2021-10-05 10:00:02 +00:00
xwayland-shm.h xwayland: Move SHM declarations to their own header 2019-12-20 16:19:01 +01:00
xwayland-types.h xwayland: Add xwl_output to the Xwayland types 2023-11-16 11:14:04 +01:00
xwayland-vidmode.c xwayland: add a fixed geometry size for rootful 2022-06-30 17:52:22 +02:00
xwayland-vidmode.h xwayland: Move Xwayland vidmode declaration 2019-12-20 16:19:01 +01:00
xwayland-window-buffers.c xwayland: Destroy old window pixmap in xwl_window_recycle_pixmap 2024-01-12 17:06:39 +00:00
xwayland-window-buffers.h xwayland: Use window pixmap as a window buffer 2024-01-10 17:31:42 +00:00
xwayland-window.c xwayland: Check for the screen output name for fullscreen 2024-01-11 08:45:33 +00:00
xwayland-window.h xwayland: Add a helper function to update fullscreen 2023-11-16 11:14:04 +01:00
xwayland-xtest.c xwayland: override the XTest sendEventsProc for all devices 2024-01-09 00:45:31 +00:00
xwayland-xtest.h xwayland: Fallback to plain XTEST if EI does not work 2023-06-26 13:19:19 +02:00
xwayland.c xwayland: Add the output name for fullscreen rootful 2024-01-11 08:45:33 +00:00