Print this page
12306 XPG4v2 slave pty behaviour should generally be disabled
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Change-ID: I7ccd399c22866f34dd20c6bb9d28e77ba4e24c67

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/strsubr.h
          +++ new/usr/src/uts/common/sys/strsubr.h
↓ open down ↓ 280 lines elided ↑ open up ↑
 281  281  #define STRGETINPROG    0x00000100      /* (k)strgetmsg is running */
 282  282  #define IOCWAITNE       0x00000200      /* STR_NOERROR ioctl running */
 283  283  #define STRDERR         0x00000400      /* fatal read error from M_ERROR */
 284  284  #define STWRERR         0x00000800      /* fatal write error from M_ERROR */
 285  285  #define STRDERRNONPERSIST 0x00001000    /* nonpersistent read errors */
 286  286  #define STWRERRNONPERSIST 0x00002000    /* nonpersistent write errors */
 287  287  #define STRCLOSE        0x00004000      /* wait for a close to complete */
 288  288  #define SNDMREAD        0x00008000      /* used for read notification */
 289  289  #define OLDNDELAY       0x00010000      /* use old TTY semantics for */
 290  290                                          /* NDELAY reads and writes */
 291      -        /*              0x00020000         unused */
      291 +#define STRXPG4TTY      0x00020000      /* Use XPG4 TTY semantics */
 292  292          /*              0x00040000         unused */
 293  293  #define STRTOSTOP       0x00080000      /* block background writes */
 294  294  #define STRCMDWAIT      0x00100000      /* someone is doing an _I_CMD */
 295  295          /*              0x00200000         unused */
 296  296  #define STRMOUNT        0x00400000      /* stream is mounted */
 297  297  #define STRNOTATMARK    0x00800000      /* Not at mark (when empty read q) */
 298  298  #define STRDELIM        0x01000000      /* generate delimited messages */
 299  299  #define STRATMARK       0x02000000      /* At mark (due to MSGMARKNEXT) */
 300  300  #define STZCNOTIFY      0x04000000      /* wait for zerocopy mblk to be acked */
 301  301  #define STRPLUMB        0x08000000      /* push/pop pending */
↓ open down ↓ 1062 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX