changeset 56549:b003077e495c

8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO Reviewed-by: dcubed, dholmes
author stuefe
date Tue, 04 Jun 2019 07:49:58 +0200
parents 2ae056696b15
children 8b8d83cf9097
files src/hotspot/os/solaris/os_solaris.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/os/solaris/os_solaris.cpp	Mon Jun 03 10:28:03 2019 +0200
+++ b/src/hotspot/os/solaris/os_solaris.cpp	Tue Jun 04 07:49:58 2019 +0200
@@ -2027,6 +2027,7 @@
   struct sigaction sigAct, oldSigAct;
   sigfillset(&(sigAct.sa_mask));
   sigAct.sa_flags = SA_RESTART & ~SA_RESETHAND;
+  sigAct.sa_flags |= SA_SIGINFO;
   sigAct.sa_handler = CAST_TO_FN_PTR(sa_handler_t, handler);
 
   if (sigaction(signal_number, &sigAct, &oldSigAct)) {