Print this page
Bring back LX zones.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/termios.h
          +++ new/usr/src/uts/common/sys/termios.h
↓ open down ↓ 369 lines elided ↑ open up ↑
 370  370  #define TCSETS          (_TIOC|14)
 371  371  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 372  372  #define TCSANOW         (_TIOC|14) /* same as TCSETS */
 373  373  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 374  374  #define TCSETSW         (_TIOC|15)
 375  375  #endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
 376  376  #define TCSADRAIN       (_TIOC|15) /* same as TCSETSW */
 377  377  #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
 378  378  #define TCSETSF         (_TIOC|16)
 379  379  
      380 + /*
      381 + * linux terminal ioctls we need to be aware of
      382 + */
      383 +#define TIOCSETLD       (_TIOC|123)     /* set line discipline parms */
      384 +#define TIOCGETLD       (_TIOC|124)     /* get line discipline parms */
      385 +
      386 +/*
      387 + * The VMIN and VTIME and solaris overlap with VEOF and VEOL - This is
      388 + * perfectly legal except, linux expects them to be separate. So we keep
      389 + * them separately.
      390 + */
      391 +struct lx_cc {
      392 +        unsigned char veof;     /* veof value */
      393 +        unsigned char veol;     /* veol value */
      394 +        unsigned char vmin;     /* vmin value */
      395 +        unsigned char vtime;    /* vtime value */
      396 +};
      397 +
 380  398  /*
 381  399   * NTP PPS ioctls
 382  400   */
 383  401  #define TIOCGPPS        (_TIOC|125)
 384  402  #define TIOCSPPS        (_TIOC|126)
 385  403  #define TIOCGPPSEV      (_TIOC|127)
 386  404  
 387  405  /* Argument filled in by TIOCGPPSEV */
 388  406  struct ppsclockev {
 389  407          struct timeval tv;
↓ open down ↓ 194 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX