wayland: fall back to shm_open if memfd unavailable

Desktop / GNOME / GTK - Ray Strode [redhat.com] - 16 June 2016 11:02 UTC

Debian stable currently ships with a 3.16 kernel, so it doesn't have memfd available.

This commit adds shm_open fall back code for that case (for now).

https://bugzilla.gnome.org/show_bug.cgi?id=766341

2f3cb31 wayland: fall back to shm_open if memfd unavailable
configure.ac | 3 +++
gdk/wayland/gdkdisplay-wayland.c | 41 +++++++++++++++++++++++++++++++++++---
2 files changed, 41 insertions(+), 3 deletions(-)

Upstream: git.gnome.org


  • Share