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>
        
*** 159,169 ****
          GET_V(sp, pcnt, V_LWP, reg);            /* get lwp pointer */   \
          mov     LWP_PROCP(reg), reg             /* get proc pointer */
  
  #define GET_P_BRAND_DATA(sp, pcnt, reg)                                 \
          GET_PROCP(sp, pcnt, reg);                                       \
!         mov     P_BRAND_DATA(reg), reg          /* get p_brand_data */
  
  /*
   * Each of the following macros returns to the standard syscall codepath if
   * it detects that this process is not able, or intended, to emulate this
   * system call.  They all assume that the routine provides a 'bail-out'
--- 159,169 ----
          GET_V(sp, pcnt, V_LWP, reg);            /* get lwp pointer */   \
          mov     LWP_PROCP(reg), reg             /* get proc pointer */
  
  #define GET_P_BRAND_DATA(sp, pcnt, reg)                                 \
          GET_PROCP(sp, pcnt, reg);                                       \
!         mov     __P_BRAND_DATA(reg), reg        /* get p_brand_data */
  
  /*
   * Each of the following macros returns to the standard syscall codepath if
   * it detects that this process is not able, or intended, to emulate this
   * system call.  They all assume that the routine provides a 'bail-out'