wayland/cursor
Emmanuel Gil Peyrot 6908c8c85a cursor: Use memfd_create() when available
This (so-far) Linux-only API lets users create file descriptors purely
in memory, without any backing file on the filesystem and the race
condition which could ensue when unlink()ing it.

It also allows seals to be placed on the file, ensuring to every other
process that we won’t be allowed to shrink the contents, potentially
causing a SIGBUS when they try reading it.

This patch is best viewed with the -w option of git log -p.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Simon Ser <contact@emersion.fr>
2019-07-21 09:06:43 +00:00
..
convert_font.c cursor: Update printed license from MIT "X11" to MIT "Expat" 2015-06-22 14:50:20 +03:00
cursor-data.h (multiple): Include stdint.h 2016-07-25 18:39:32 -07:00
cursor.pcf cursor: add cursor.pcf and extraction program 2012-09-10 21:05:14 -04:00
os-compatibility.c cursor: Use memfd_create() when available 2019-07-21 09:06:43 +00:00
os-compatibility.h cursor: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-12 15:51:38 -07:00
wayland-cursor-uninstalled.pc.in build: add uninstalled pkg-config files 2012-05-29 10:09:59 -04:00
wayland-cursor.c (multiple): Include stdint.h 2016-07-25 18:39:32 -07:00
wayland-cursor.h cursor: add forward declaration for struct wl_buffer 2017-12-04 19:45:38 +00:00
wayland-cursor.pc.in pkgconfig: Use configure provided directories 2012-11-27 20:35:50 -05:00
xcursor.c cursor: Fix heap overflows when parsing malicious files. 2017-11-29 09:45:10 +02:00
xcursor.h xcursor: Change keithp licensed code from X11 to Expat license 2015-06-12 15:51:38 -07:00