[cairo-bugs] [Bug 107596] New: opens files without CLOEXEC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 20:13:09 UTC 2018


            Bug ID: 107596
           Summary: opens files without CLOEXEC
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: chpe at gnome.org
        QA Contact: cairo-bugs at cairographics.org

Created attachment 141149
  --> https://bugs.freedesktop.org/attachment.cgi?id=141149&action=edit

Cairo opens files without O_CLOEXEC.

The attached patch fixes this in all places in the library only; I didn't
change the utils etc.

The "e" mode for fopen() is a GNU extension, and I don't know if it's supported
more widely (or at least ignored on other platforms that don't support it), so
I made it used only on GLIBC.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180816/b46767d1/attachment.html>

More information about the cairo-bugs mailing list