version 1.1.1.1, 2012/02/17 15:09:30
|
version 1.1.1.2, 2016/11/01 09:54:32
|
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-2008 Wayne Davison | * Copyright (C) 2007-2015 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 58
|
Line 59
|
|
|
#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 292 int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TA
|
Line 298 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); |