Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/acl.h
          +++ new/usr/src/uts/common/sys/acl.h
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23   23   *
  24   24   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25   25   * Use is subject to license terms.
  26   26   *
  27   27   * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       28 + * Copyright 2017 RackTop Systems.
  28   29   */
  29   30  
  30   31  #ifndef _SYS_ACL_H
  31   32  #define _SYS_ACL_H
  32   33  
  33   34  #include <sys/types.h>
  34   35  #include <sys/acl_impl.h>
  35   36  
  36   37  #ifdef  __cplusplus
  37   38  extern "C" {
↓ open down ↓ 113 lines elided ↑ open up ↑
 151  152  #define ACE_ACCESS_DENIED_CALLBACK_ACE_TYPE             0x0A
 152  153  #define ACE_ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE     0x0B
 153  154  #define ACE_ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE      0x0C
 154  155  #define ACE_SYSTEM_AUDIT_CALLBACK_ACE_TYPE              0x0D
 155  156  #define ACE_SYSTEM_ALARM_CALLBACK_ACE_TYPE              0x0E
 156  157  #define ACE_SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE       0x0F
 157  158  #define ACE_SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE       0x10
 158  159  
 159  160  #define ACE_ALL_TYPES   0x001F
 160  161  
 161      -#ifdef _KERNEL
      162 +#if defined(_KERNEL) || defined(_FAKE_KERNEL)
 162  163  
 163  164  typedef struct ace_object {
 164  165          uid_t           a_who;          /* uid or gid */
 165  166          uint32_t        a_access_mask;  /* read,write,... */
 166  167          uint16_t        a_flags;        /* see below */
 167  168          uint16_t        a_type;         /* allow or deny */
 168  169          uint8_t         a_obj_type[16]; /* obj type */
 169  170          uint8_t         a_inherit_obj_type[16];  /* inherit obj */
 170  171  } ace_object_t;
 171  172  
↓ open down ↓ 149 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX