Changeset 32413 in vbox
- Timestamp:
- Sep 10, 2010 2:57:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r32411 r32413 2290 2290 RT_ZERO(sigAct); 2291 2291 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;2294 2292 2295 2293 if ( (fFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP) 2296 2294 && !(g_fCoreDumpFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP)) 2297 2295 { 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; 2299 2298 sigaction(SIGSEGV, &sigAct, NULL); 2300 2299 sigaction(SIGBUS, &sigAct, NULL); … … 2305 2304 && !(g_fCoreDumpFlags & RTCOREDUMPER_FLAGS_LIVE_CORE)) 2306 2305 { 2306 sigfillset(&sigAct.sa_mask); /* Block all signals while in it's signal handler */ 2307 2307 sigAct.sa_flags = SA_RESTART | SA_SIGINFO; 2308 2308 sigaction(SIGUSR2, &sigAct, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.