[Mesa-dev] [Bug 46596] New: Set close on exec flag FD_CLOEXEC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 24 17:21:48 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46596

             Bug #: 46596
           Summary: Set close on exec flag FD_CLOEXEC
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: david at fries.net


Created attachment 57614
  --> https://bugs.freedesktop.org/attachment.cgi?id=57614
Set O_CLOEXEC flag or FD_CLOEXEC for opened fds

Mesa should set all the fds it opens with the O_CLOEXEC (or FD_CLOEXEC flag) to
avoid leaking dri resources on the X/kernel side.  I inclosed a patch to
address this issue.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list