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>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/brand/common/brand_asm.h
          +++ new/usr/src/uts/intel/brand/common/brand_asm.h
↓ open down ↓ 153 lines elided ↑ open up ↑
 154  154  
 155  155  #define SET_V(sp, pcnt, var, reg)                                       \
 156  156          mov     reg, V_OFFSET(pcnt, var)(sp)
 157  157  
 158  158  #define GET_PROCP(sp, pcnt, reg)                                        \
 159  159          GET_V(sp, pcnt, V_LWP, reg);            /* get lwp pointer */   \
 160  160          mov     LWP_PROCP(reg), reg             /* get proc pointer */
 161  161  
 162  162  #define GET_P_BRAND_DATA(sp, pcnt, reg)                                 \
 163  163          GET_PROCP(sp, pcnt, reg);                                       \
 164      -        mov     P_BRAND_DATA(reg), reg          /* get p_brand_data */
      164 +        mov     __P_BRAND_DATA(reg), reg        /* get p_brand_data */
 165  165  
 166  166  /*
 167  167   * Each of the following macros returns to the standard syscall codepath if
 168  168   * it detects that this process is not able, or intended, to emulate this
 169  169   * system call.  They all assume that the routine provides a 'bail-out'
 170  170   * label of '9'.
 171  171   */
 172  172  
 173  173  /*
 174  174   * See if this process has a user-space handler registered for it.  For the
↓ open down ↓ 71 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX