Print this page
OS-3149 lx brand always sends SIGCHLD to parent processes, regardless of how clone was invoked
OS-2887 lxbrand add WALL, WCLONE, WNOTHREAD support to waitid
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>


  92 greg_t          GREGSIZE
  93 
  94 uintptr_t       LWP_ARG_SZ
  95 
  96 proc            PROCSIZE
  97         p_link
  98         p_next
  99         p_child
 100         p_sibling
 101         p_sig
 102         p_wcode
 103         p_flag
 104         p_tlist
 105         p_as
 106         p_lockp
 107         p_pidp
 108         p_fixalignment
 109         p_utraps
 110         p_agenttp
 111         p_brand
 112         p_brand_data
 113 
 114 \#define        P_UTRAP4        (UT_ILLTRAP_INSTRUCTION * CPTRSIZE)
 115 \#define        P_UTRAP7        (UT_FP_DISABLED * CPTRSIZE)
 116 \#define        P_UTRAP8        (UT_FP_EXCEPTION_IEEE_754 * CPTRSIZE)
 117 \#define        P_UTRAP10       (UT_TAG_OVERFLOW * CPTRSIZE)
 118 \#define        P_UTRAP11       (UT_DIVISION_BY_ZERO * CPTRSIZE)
 119 \#define        P_UTRAP15       (UT_MEM_ADDRESS_NOT_ALIGNED * CPTRSIZE)
 120 \#define        P_UTRAP16       (UT_PRIVILEGED_ACTION * CPTRSIZE)
 121 
 122 pid     PID_SIZE
 123         pid_id  PID_PIDID
 124 
 125 _label_t        LABEL_SIZE
 126         val     LABEL_VAL
 127 
 128 _kthread        THREAD_SIZE
 129         t_lock
 130         t_lock_flush
 131         t_lockp
 132         t_oldspl




  92 greg_t          GREGSIZE
  93 
  94 uintptr_t       LWP_ARG_SZ
  95 
  96 proc            PROCSIZE
  97         p_link
  98         p_next
  99         p_child
 100         p_sibling
 101         p_sig
 102         p_wcode
 103         p_flag
 104         p_tlist
 105         p_as
 106         p_lockp
 107         p_pidp
 108         p_fixalignment
 109         p_utraps
 110         p_agenttp
 111         p_brand
 112         __p_brand_data
 113 
 114 \#define        P_UTRAP4        (UT_ILLTRAP_INSTRUCTION * CPTRSIZE)
 115 \#define        P_UTRAP7        (UT_FP_DISABLED * CPTRSIZE)
 116 \#define        P_UTRAP8        (UT_FP_EXCEPTION_IEEE_754 * CPTRSIZE)
 117 \#define        P_UTRAP10       (UT_TAG_OVERFLOW * CPTRSIZE)
 118 \#define        P_UTRAP11       (UT_DIVISION_BY_ZERO * CPTRSIZE)
 119 \#define        P_UTRAP15       (UT_MEM_ADDRESS_NOT_ALIGNED * CPTRSIZE)
 120 \#define        P_UTRAP16       (UT_PRIVILEGED_ACTION * CPTRSIZE)
 121 
 122 pid     PID_SIZE
 123         pid_id  PID_PIDID
 124 
 125 _label_t        LABEL_SIZE
 126         val     LABEL_VAL
 127 
 128 _kthread        THREAD_SIZE
 129         t_lock
 130         t_lock_flush
 131         t_lockp
 132         t_oldspl