VirtualBox

Changeset 32413 in vbox


Ignore:
Timestamp:
Sep 10, 2010 2:57:46 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/r3/coredumper: wrong assumption.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp

    r32411 r32413  
    22902290        RT_ZERO(sigAct);
    22912291        sigAct.sa_sigaction = &rtCoreDumperSignalHandler;
    2292         sigfillset(&sigAct.sa_mask);                        /* Block all signals while in the signal handler */
    2293         sigAct.sa_flags = SA_RESTART | SA_SIGINFO;
    22942292
    22952293        if (   (fFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP)
    22962294            && !(g_fCoreDumpFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP))
    22972295        {
    2298             sigAct.sa_flags |= SA_NODEFER;                  /* Don't block the below signal while in it's signal handler. */
     2296            sigemptyset(&sigAct.sa_mask);
     2297            sigAct.sa_flags = SA_RESTART | SA_SIGINFO | SA_NODEFER;
    22992298            sigaction(SIGSEGV, &sigAct, NULL);
    23002299            sigaction(SIGBUS, &sigAct, NULL);
     
    23052304            && !(g_fCoreDumpFlags & RTCOREDUMPER_FLAGS_LIVE_CORE))
    23062305        {
     2306            sigfillset(&sigAct.sa_mask);                        /* Block all signals while in it's signal handler */
    23072307            sigAct.sa_flags = SA_RESTART | SA_SIGINFO;
    23082308            sigaction(SIGUSR2, &sigAct, NULL);
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