[Wayland-bugs] [Bug 766341] Do not rely on memfd as it requires a fairly recent kernel
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon May 16 13:49:27 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766341
--- Comment #17 from Ray Strode [halfline] <rstrode at redhat.com> ---
Review of attachment 327976:
::: gdk/wayland/gdkdisplay-wayland.c
@@ +1132,1 @@
ret = syscall (__NR_memfd_create, "gdk-wayland", MFD_CLOEXEC);
so i'm not handling EINTR here, which means we could end up using yucky shm fds
on memfd systems sporatically. I'm also not remembering to use fall back for
subsequent calls so users stuck with yucky shm fds will do futile memfd_create
calls every time.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160516/9cb1221f/attachment.html>
More information about the wayland-bugs
mailing list