Diff for /embedaddon/rsync/lib/sysacls.h between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2016/11/01 09:54:32 version 1.1.1.3, 2021/03/17 00:32:36
Line 3 Line 3
  * Version 2.2.x   * Version 2.2.x
  * Portable SMB ACL interface   * Portable SMB ACL interface
  * Copyright (C) Jeremy Allison 2000   * Copyright (C) Jeremy Allison 2000
 * Copyright (C) 2007-2015 Wayne Davison * Copyright (C) 2007-2020 Wayne Davison
  *   *
  * This program is free software; you can redistribute it and/or modify   * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by   * it under the terms of the GNU General Public License as published by
Line 48 Line 48
 #define SMB_ACL_GROUP_OBJ       ACL_GROUP_OBJ  #define SMB_ACL_GROUP_OBJ       ACL_GROUP_OBJ
 #define SMB_ACL_OTHER           ACL_OTHER  #define SMB_ACL_OTHER           ACL_OTHER
 #define SMB_ACL_MASK            ACL_MASK  #define SMB_ACL_MASK            ACL_MASK
 #define SMB_ACL_EVERYONE        ACL_EVERYONE  
   
 #define SMB_ACL_T               acl_t  #define SMB_ACL_T               acl_t
   
Line 59 Line 58
   
 #define SMB_ACL_TYPE_ACCESS     ACL_TYPE_ACCESS  #define SMB_ACL_TYPE_ACCESS     ACL_TYPE_ACCESS
 #define SMB_ACL_TYPE_DEFAULT    ACL_TYPE_DEFAULT  #define SMB_ACL_TYPE_DEFAULT    ACL_TYPE_DEFAULT
 #define SMB_ACL_TYPE_NFS4       ACL_TYPE_NFS4  
   
 #define SMB_ACL_BRAND_UNKNOWN   ACL_BRAND_UNKNOWN  
 #define SMB_ACL_BRAND_POSIX     ACL_BRAND_POSIX  
 #define SMB_ACL_BRAND_NFS4      ACL_BRAND_NFS4  
   
 #define SMB_ACL_VALID_NAME_BITS (4 | 2 | 1)  #define SMB_ACL_VALID_NAME_BITS (4 | 2 | 1)
 #define SMB_ACL_VALID_OBJ_BITS  (4 | 2 | 1)  #define SMB_ACL_VALID_OBJ_BITS  (4 | 2 | 1)
   
Line 145  typedef struct acl *SMB_ACL_ENTRY_T; Line 139  typedef struct acl *SMB_ACL_ENTRY_T;
   
 /* Based on the Solaris & UnixWare code. */  /* Based on the Solaris & UnixWare code. */
   
   #ifndef __TANDEM
 #undef GROUP  #undef GROUP
   #endif
 #include <sys/aclv.h>  #include <sys/aclv.h>
   
 /* SVR4.2 ES/MP ACLs */  /* SVR4.2 ES/MP ACLs */
Line 298  int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TA Line 294  int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TA
 SMB_ACL_T sys_acl_get_file(const char *path_p, SMB_ACL_TYPE_T type);  SMB_ACL_T sys_acl_get_file(const char *path_p, SMB_ACL_TYPE_T type);
 SMB_ACL_T sys_acl_get_fd(int fd);  SMB_ACL_T sys_acl_get_fd(int fd);
 SMB_ACL_T sys_acl_init(int count);  SMB_ACL_T sys_acl_init(int count);
 int sys_acl_get_brand( SMB_ACL_T the_acl, int *brand_p);  
 int sys_acl_get_brand_file( const char *path_p, int *brand_p);  
 int sys_acl_create_entry(SMB_ACL_T *pacl, SMB_ACL_ENTRY_T *pentry);  int sys_acl_create_entry(SMB_ACL_T *pacl, SMB_ACL_ENTRY_T *pentry);
 int sys_acl_set_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T tagtype, uint32 bits, id_t u_g_id);  int sys_acl_set_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T tagtype, uint32 bits, id_t u_g_id);
 int sys_acl_set_access_bits(SMB_ACL_ENTRY_T entry, uint32 bits);  int sys_acl_set_access_bits(SMB_ACL_ENTRY_T entry, uint32 bits);

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>