VirtualBox

Ignore:
Timestamp:
Sep 17, 2007 8:24:37 PM (17 years ago)
Author:
vboxsync
Message:

freebsd too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPLib-freebsd.cpp

    r4811 r4872  
    7474
    7575    /*
     76     * Mark the file handle close on exec.
     77     */
     78    if (fcntl(g_hDevice, F_SETFD, FD_CLOEXEC) != 0)
     79    {
     80        int rc = errno;
     81        LogRel(("suplibOSInit: setting FD_CLOEXEC failed, errno=%d\n", rc));
     82        close(g_hDevice);
     83        g_hDevice = -1;
     84        return RTErrConvertFromErrno(rc);
     85    }
     86
     87    /*
    7688     * We're done.
    7789     */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette