On Fri, Jun 12, 2015 at 8:04 AM, Daniel Stone <dan...@fooishbar.org> wrote: > Hi, > > On 12 June 2015 at 15:43, Emil Velikov <emil.l.veli...@gmail.com> wrote: >> On 11/06/15 17:43, Zach Reizner wrote: >>> + dri2_dpy->fd = open(card_path, O_RDWR); >> Pretty sure that we'd want some O_CLOEXEC/fcntl() magic but that can be >> done as a separate patch. > > We absolutely want O_CLOEXEC; if that could be put in now, that would be > great.
Related, Derek Foreman sent a patch at the beginning of May egl/drm: Try to use CLOEXEC for drm fds that I've been hoping someone more knowledgeable about EGL would review. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev