Print this page
9600 LDT still not happy under KPTI

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/proc.h
          +++ new/usr/src/uts/common/sys/proc.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright 2017 Joyent, Inc.
       24 + * Copyright 2018 Joyent, Inc.
  25   25   */
  26   26  
  27   27  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   28  /*        All Rights Reserved   */
  29   29  
  30   30  #ifndef _SYS_PROC_H
  31   31  #define _SYS_PROC_H
  32   32  
  33   33  #include <sys/time.h>
  34   34  #include <sys/thread.h>
↓ open down ↓ 259 lines elided ↑ open up ↑
 294  294          struct p_audit_data     *p_audit_data; /* per process audit structure */
 295  295  
 296  296          pctxop_t        *p_pctx;
 297  297  
 298  298  #if defined(__x86)
 299  299          /*
 300  300           * LDT support.
 301  301           */
 302  302          kmutex_t        p_ldtlock;      /* protects the following fields */
 303  303          user_desc_t     *p_ldt;         /* Pointer to private LDT */
 304      -        system_desc_t   p_ldt_desc;     /* segment descriptor for private LDT */
      304 +        uint64_t        p_unused1;      /* no longer used */
      305 +        uint64_t        p_unused2;      /* no longer used */
 305  306          ushort_t        p_ldtlimit;     /* highest selector used */
 306  307  #endif
 307  308          size_t p_swrss;                 /* resident set size before last swap */
 308  309          struct aio      *p_aio;         /* pointer to async I/O struct */
 309  310          struct itimer   **p_itimer;     /* interval timers */
 310  311          timeout_id_t    p_alarmid;      /* alarm's timeout id */
 311  312          caddr_t         p_usrstack;     /* top of the process stack */
 312  313          uint_t          p_stkprot;      /* stack memory protection */
 313  314          uint_t          p_datprot;      /* data memory protection */
 314  315          model_t         p_model;        /* data model determined at exec time */
↓ open down ↓ 512 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX