Print this page
NEX-1767 ls is unable to display SIDs
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
OS-139 POSIX write should imply DELETE_CHILD on directories - and some additional considerations
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/acl.h
          +++ new/usr/src/uts/common/sys/acl.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  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      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       27 + * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  28   28   * Copyright 2017 RackTop Systems.
  29   29   */
  30   30  
  31   31  #ifndef _SYS_ACL_H
  32   32  #define _SYS_ACL_H
  33   33  
  34   34  #include <sys/types.h>
  35   35  #include <sys/acl_impl.h>
  36   36  
  37   37  #ifdef  __cplusplus
↓ open down ↓ 207 lines elided ↑ open up ↑
 245  245   * flag to [f]acl_get()
 246  246   * controls whether a trivial acl should be returned.
 247  247   */
 248  248  #define ACL_NO_TRIVIAL  0x2
 249  249  
 250  250  
 251  251  /*
 252  252   * Flags to control acl_totext()
 253  253   */
 254  254  
 255      -#define ACL_APPEND_ID   0x1     /* append uid/gid to user/group entries */
 256      -#define ACL_COMPACT_FMT 0x2     /* build ACL in ls -V format */
 257      -#define ACL_NORESOLVE   0x4     /* don't do name service lookups */
 258      -#define ACL_SID_FMT     0x8     /* use usersid/groupsid when appropriate */
      255 +#define ACL_APPEND_ID   0x01    /* append uid/gid to user/group entries */
      256 +#define ACL_COMPACT_FMT 0x02    /* build ACL in ls -V format */
      257 +#define ACL_NORESOLVE   0x04    /* don't do name service lookups */
      258 +#define ACL_SID_FMT     0x08    /* use usersid/groupsid when appropriate */
      259 +#define ACL_EPHEMERAL   0x10    /* Print raw ephemeral id */
 259  260  
 260  261  /*
 261  262   * Legacy aclcheck errors for aclent_t ACLs
 262  263   */
 263  264  #define EACL_GRP_ERROR          GRP_ERROR
 264  265  #define EACL_USER_ERROR         USER_ERROR
 265  266  #define EACL_OTHER_ERROR        OTHER_ERROR
 266  267  #define EACL_CLASS_ERROR        CLASS_ERROR
 267  268  #define EACL_DUPLICATE_ERROR    DUPLICATE_ERROR
 268  269  #define EACL_MISS_ERROR         MISS_ERROR
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX