[Mesa-dev] [PATCH v5] egl/dri2: implement platform_surfaceless

Matt Turner mattst88 at gmail.com
Fri Jun 12 09:02:38 PDT 2015


On Fri, Jun 12, 2015 at 8:04 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
>
> On 12 June 2015 at 15:43, Emil Velikov <emil.l.velikov at 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.


More information about the mesa-dev mailing list