Print this page
OS-4300 increase RT signal count
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/signal.h
          +++ new/usr/src/uts/common/sys/signal.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright 2015, Joyent, Inc.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  /*
  31   32   * University Copyright- Copyright (c) 1982, 1986, 1988
  32   33   * The Regents of the University of California
  33   34   * All Rights Reserved
  34   35   *
↓ open down ↓ 116 lines elided ↑ open up ↑
 151  152  #define SA_NODEFER      0x00000010
 152  153  
 153  154  /* this is only valid for SIGCLD */
 154  155  #define SA_NOCLDWAIT    0x00010000      /* don't save zombie children    */
 155  156  
 156  157  #if defined(__EXTENSIONS__) || !defined(_XPG4_2)
 157  158  /*
 158  159   * use of these symbols by applications is injurious
 159  160   *      to binary compatibility
 160  161   */
 161      -#define NSIG    74      /* valid signals range from 1 to NSIG-1 */
 162      -#define MAXSIG  73      /* size of u_signal[], NSIG-1 <= MAXSIG */
      162 +#define NSIG    75      /* valid signals range from 1 to NSIG-1 */
      163 +#define MAXSIG  74      /* size of u_signal[], NSIG-1 <= MAXSIG */
 163  164  #endif /* defined(__EXTENSIONS__) || !defined(_XPG4_2) */
 164  165  
 165  166  #define MINSIGSTKSZ     2048
 166  167  #define SIGSTKSZ        8192
 167  168  
 168  169  #define SS_ONSTACK      0x00000001
 169  170  #define SS_DISABLE      0x00000002
 170  171  
 171  172  /* Duplicated in <sys/ucontext.h> as a result of XPG4v2 requirements. */
 172  173  #ifndef _STACK_T
↓ open down ↓ 163 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX