VirtualBox

Changeset 33044 in vbox for trunk/src/libs/xpcom18a4/xpcom


Ignore:
Timestamp:
Oct 11, 2010 4:30:54 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66568
Message:

iprt/process: eliminate RTPROC_FLAGS_DAEMONIZE_DEPRECATED, rework starting a detached process on posix platforms and eliminate one useless fork(), avoid running

atexit functions in the temporary process

XPCOM: more detached process rework, block anything not going through IPRT, clos
e a few file descriptor inheritance leaks, and clean up the file descriptor pass
ing to VBoxXPCOMIPCD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/threads/plevent.c

    r30135 r33044  
    863863        return PR_FAILURE;
    864864    }
     865#ifdef VBOX
     866    fcntl(self->eventPipe[0], F_SETFD, FD_CLOEXEC);
     867    fcntl(self->eventPipe[1], F_SETFD, FD_CLOEXEC);
     868#endif
    865869
    866870    /* make the pipe nonblocking */
Note: See TracChangeset for help on using the changeset viewer.

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