Print this page
11037 SMB File access audit logging (reserve IDs)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/auditreduce/auditrt.h
          +++ new/usr/src/cmd/auditreduce/auditrt.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   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  24   26   */
  25   27  
  26   28  #ifndef _AUDITRT_H
  27   29  #define _AUDITRT_H
  28   30  
  29   31  #ifdef  __cplusplus
  30   32  extern "C" {
  31   33  #endif
  32   34  
  33   35  /*
↓ open down ↓ 114 lines elided ↑ open up ↑
 148  150  #define OBJ_MSGGROUP    0x00200  /* 'o' msgq [c]group */
 149  151  #define OBJ_MSGOWNER    0x00400  /* 'o' msgq [c]owner */
 150  152  #define OBJ_PGROUP      0x00800  /* 'o' process [e]group */
 151  153  #define OBJ_POWNER      0x01000  /* 'o' process [e]owner */
 152  154  #define OBJ_SEMGROUP    0x02000  /* 'o' semaphore [c]group */
 153  155  #define OBJ_SEMOWNER    0x04000  /* 'o' semaphore [c]owner */
 154  156  #define OBJ_SHMGROUP    0x08000  /* 'o' shared memory [c]group */
 155  157  #define OBJ_SHMOWNER    0x10000  /* 'o' shared memory [c]owner */
 156  158  #define OBJ_FMRI        0x20000  /* 'o' fmri object */
 157  159  #define OBJ_USER        0x40000  /* 'o' user object */
      160 +#define OBJ_WSID        0x80000  /* 'o' windows sid object */
 158  161  
 159  162  #define SOCKFLG_MACHINE 0       /* search socket token by machine name */
 160  163  #define SOCKFLG_PORT    1       /* search socket token by port number */
 161  164  
 162  165  /*
 163  166   * Global variables
 164  167   */
 165  168  extern unsigned short m_type;   /* 'm' message type */
 166  169  extern gid_t    m_groupr;       /* 'g' real group-id */
 167  170  extern gid_t    m_groupe;       /* 'f' effective group-id */
↓ open down ↓ 88 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX