43 #include <sys/fault.h>
  44 #include <sys/ucontext.h>
  45 #include <sys/procfs.h>
  46 #include <sys/wait.h>
  47 #include <sys/class.h>
  48 #include <sys/mman.h>
  49 #include <sys/procset.h>
  50 #include <sys/kmem.h>
  51 #include <sys/cpuvar.h>
  52 #include <sys/prsystm.h>
  53 #include <sys/debug.h>
  54 #include <vm/as.h>
  55 #include <sys/bitmap.h>
  56 #include <c2/audit.h>
  57 #include <sys/core.h>
  58 #include <sys/schedctl.h>
  59 #include <sys/contract/process_impl.h>
  60 #include <sys/cyclic.h>
  61 #include <sys/dtrace.h>
  62 #include <sys/sdt.h>
  63 #include <sys/brand.h>
  64 #include <sys/signalfd.h>
  65 
  66 const k_sigset_t nullsmask = {0, 0, 0};
  67 
  68 const k_sigset_t fillset =      /* MUST be contiguous */
  69         {FILLSET0, FILLSET1, FILLSET2};
  70 
  71 const k_sigset_t cantmask =
  72         {CANTMASK0, CANTMASK1, CANTMASK2};
  73 
  74 const k_sigset_t cantreset =
  75         {(sigmask(SIGILL)|sigmask(SIGTRAP)|sigmask(SIGPWR)), 0, 0};
  76 
  77 const k_sigset_t ignoredefault =
  78         {(sigmask(SIGCONT)|sigmask(SIGCLD)|sigmask(SIGPWR)
  79         |sigmask(SIGWINCH)|sigmask(SIGURG)|sigmask(SIGWAITING)),
  80         (sigmask(SIGLWP)|sigmask(SIGCANCEL)|sigmask(SIGFREEZE)
  81         |sigmask(SIGTHAW)|sigmask(SIGXRES)|sigmask(SIGJVM1)
  82         |sigmask(SIGJVM2)|sigmask(SIGINFO)), 0};
  83 
  84 const k_sigset_t stopdefault =
 
 | 
 
 
  43 #include <sys/fault.h>
  44 #include <sys/ucontext.h>
  45 #include <sys/procfs.h>
  46 #include <sys/wait.h>
  47 #include <sys/class.h>
  48 #include <sys/mman.h>
  49 #include <sys/procset.h>
  50 #include <sys/kmem.h>
  51 #include <sys/cpuvar.h>
  52 #include <sys/prsystm.h>
  53 #include <sys/debug.h>
  54 #include <vm/as.h>
  55 #include <sys/bitmap.h>
  56 #include <c2/audit.h>
  57 #include <sys/core.h>
  58 #include <sys/schedctl.h>
  59 #include <sys/contract/process_impl.h>
  60 #include <sys/cyclic.h>
  61 #include <sys/dtrace.h>
  62 #include <sys/sdt.h>
  63 #include <sys/signalfd.h>
  64 #include <sys/brand.h>
  65 
  66 const k_sigset_t nullsmask = {0, 0, 0};
  67 
  68 const k_sigset_t fillset =      /* MUST be contiguous */
  69         {FILLSET0, FILLSET1, FILLSET2};
  70 
  71 const k_sigset_t cantmask =
  72         {CANTMASK0, CANTMASK1, CANTMASK2};
  73 
  74 const k_sigset_t cantreset =
  75         {(sigmask(SIGILL)|sigmask(SIGTRAP)|sigmask(SIGPWR)), 0, 0};
  76 
  77 const k_sigset_t ignoredefault =
  78         {(sigmask(SIGCONT)|sigmask(SIGCLD)|sigmask(SIGPWR)
  79         |sigmask(SIGWINCH)|sigmask(SIGURG)|sigmask(SIGWAITING)),
  80         (sigmask(SIGLWP)|sigmask(SIGCANCEL)|sigmask(SIGFREEZE)
  81         |sigmask(SIGTHAW)|sigmask(SIGXRES)|sigmask(SIGJVM1)
  82         |sigmask(SIGJVM2)|sigmask(SIGINFO)), 0};
  83 
  84 const k_sigset_t stopdefault =
 
 |