Print this page
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
OS-5209 __KERN_NAUXV_IMPL needs to be increased for OS-5202
        
*** 24,34 ****
   */
  
  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  /*        All Rights Reserved   */
  /*
!  * Copyright (c) 2012 Joyent, Inc.  All rights reserved.
   */
  
  
  #ifndef _SYS_USER_H
  #define _SYS_USER_H
--- 24,34 ----
   */
  
  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  /*        All Rights Reserved   */
  /*
!  * Copyright 2016 Joyent, Inc.
   */
  
  
  #ifndef _SYS_USER_H
  #define _SYS_USER_H
*** 183,195 ****
   * supplies should use the proc(4) interface to read /proc/PID/auxv.
   *
   * This value should not be changed in a patch.
   */
  #if defined(__sparc)
! #define __KERN_NAUXV_IMPL 20
  #elif defined(__i386) || defined(__amd64)
! #define __KERN_NAUXV_IMPL 22
  #endif
  
  struct execsw;
  
  /*
--- 183,195 ----
   * supplies should use the proc(4) interface to read /proc/PID/auxv.
   *
   * This value should not be changed in a patch.
   */
  #if defined(__sparc)
! #define __KERN_NAUXV_IMPL 24
  #elif defined(__i386) || defined(__amd64)
! #define __KERN_NAUXV_IMPL 26
  #endif
  
  struct execsw;
  
  /*
*** 209,218 ****
--- 209,219 ----
          char    u_comm[MAXCOMLEN + 1];  /* executable file name from exec */
          char    u_psargs[PSARGSZ];      /* arguments from exec */
          int     u_argc;                 /* value of argc passed to main() */
          uintptr_t u_argv;               /* value of argv passed to main() */
          uintptr_t u_envp;               /* value of envp passed to main() */
+         uintptr_t u_commpagep;          /* address of mapped comm page */
  
          /*
           * These fields are protected by p_lock:
           */
          struct vnode *u_cdir;           /* current directory */