VirtualBox

Changeset 44549 in vbox


Ignore:
Timestamp:
Feb 5, 2013 4:10:29 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83602
Message:

Runtime/posix/RTProcCreateEx: unblock all signals for the new child process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r44528 r44549  
    476476            }
    477477# endif
     478            sigset_t sigmask;
     479            sigemptyset(&sigmask);
     480            rc = posix_spawnattr_setsigmask(&Attr, &sigmask);
     481            Assert(rc == 0);
    478482
    479483            /* File changes. */
     
    586590
    587591            /*
     592             * Unset the signal mask.
     593             */
     594            sigset_t sigmask;
     595            sigemptyset(&sigmask);
     596            sigprocmask(SIG_SETMASK, &sigmask, NULL);
     597
     598            /*
    588599             * Apply changes to the standard file descriptor and stuff.
    589600             */
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