https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199801

            Bug ID: 199801
           Summary: libfetch should use option letter "e" with fopen() to
                    force O_CLOEXEC instead of calling fcntl() later
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 156132
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156132&action=edit
Add "e" to fopen() options and remove the fcntl() calls.

There are a couple of pointless calls to fcntl() in libfetch
to set FD_CLOEXEC where the easier and more robust approach
would be adding the option letter "e" to fopen() options to
force O_CLOEXEC already at the time of open().

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to