Print this page
NEX-13644 File access audit logging
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/praudit/toktable.h
          +++ new/usr/src/cmd/praudit/toktable.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 _TOKTABLE_H
  27   29  #define _TOKTABLE_H
  28   30  
  29   31  #ifdef __cplusplus
  30   32  extern "C" {
  31   33  #endif
  32   34  
  33   35  /*
↓ open down ↓ 115 lines elided ↑ open up ↑
 149  151          TAG_TID_TYPE,                   /* with tid token */
 150  152          TAG_IP,                         /* with tid token, type=ip */
 151  153          TAG_IP_LOCAL,                   /* with tid token, type=ip */
 152  154          TAG_IP_REMOTE,                  /* with tid token, type=ip */
 153  155          TAG_IP_ADR,                     /* with tid token, type=ip */
 154  156          TAG_ACEMASK,                    /* with ace token */
 155  157          TAG_ACEFLAGS,                   /* with ace token */
 156  158          TAG_ACETYPE,                    /* with ace token */
 157  159          TAG_ACEID,                      /* with ace token */
 158  160          TAG_USERNAME,                   /* with user token */
      161 +        TAG_WSID,                       /* with wsid token */
 159  162          MAXTAG
 160  163  };
 161  164  
 162  165  
 163  166  /*
 164  167   * These tokens are the same for all versions of Solaris
 165  168   */
 166  169  
 167  170  /*
 168  171   * Control tokens
↓ open down ↓ 93 lines elided ↑ open up ↑
 262  265  
 263  266  extern int      header64_ex_token();
 264  267  extern int      subject32_ex_token();
 265  268  extern int      process32_ex_token();
 266  269  extern int      subject64_ex_token();
 267  270  extern int      process64_ex_token();
 268  271  extern int      ip_addr_ex_token();
 269  272  extern int      socket_ex_token();
 270  273  extern int      tid_token();
 271  274  
      275 +extern int      access_mask_token();
      276 +extern int      wsid_token();
 272  277  #ifdef __cplusplus
 273  278  }
 274  279  #endif
 275  280  
 276  281  #endif  /* _TOKTABLE_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX