Searched refs:zace (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 38 #define ZACE_IS_OWNER(zace) ((zace->a_flags & ACE_TYPE_FLAGS) == ACE_OWNER) argument 39 #define ZACE_IS_OWNGRP(zace) \ argument 40 ((zace->a_flags & ACE_TYPE_FLAGS) == (ACE_IDENTIFIER_GROUP|ACE_GROUP)) 42 #define ZACE_IS_USER(zace) \ argument 43 (((zace->a_flags & ACE_TYPE_FLAGS) == 0) || (ZACE_IS_OWNER(zace))) 44 #define ZACE_IS_GROUP(zace) (zace->a_flags & ACE_IDENTIFIER_GROUP) argument 45 #define ZACE_IS_EVERYONE(zace) (zace->a_flags & ACE_EVERYONE) argument 47 #define ZACE_IS_PROPAGATE(zace) \ argument 48 ((zace->a_flags & ACE_NO_PROPAGATE_INHERIT_ACE) == 0) 50 #define ZACE_IS_CREATOR_OWNER(zace) \ argument [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 241 ace_t *zace; in smb_acl_from_zfs() local 262 for (numaces = 0, zace = zacl->acl_aclp; in smb_acl_from_zfs() 264 zace++, numaces++, sim++) { in smb_acl_from_zfs() 273 ace->se_hdr.se_type = zace->a_type; in smb_acl_from_zfs() 274 ace->se_hdr.se_flags = smb_ace_flags_fromzfs(zace->a_flags); in smb_acl_from_zfs() 275 ace->se_mask = zace->a_access_mask; in smb_acl_from_zfs() 305 ace_t *zace; in smb_acl_to_zfs() local 332 zace = zacl->acl_aclp; in smb_acl_to_zfs() 336 for (i = 0; i < acl->sl_acecnt; i++, zace++, ace++, sim++) { in smb_acl_to_zfs() 337 zace->a_type = ace->se_hdr.se_type & ACE_ALL_TYPES; in smb_acl_to_zfs() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 2907 zfs_ace_t zace; in zfs_ace_print() local 2918 if (mdb_vread(&zace, sizeof (zfs_ace_t), addr) == -1) { in zfs_ace_print() 2923 if ((zace.z_hdr.z_flags & ACE_TYPE_FLAGS) == 0 || in zfs_ace_print() 2924 (zace.z_hdr.z_flags & ACE_TYPE_FLAGS) == ACE_IDENTIFIER_GROUP) in zfs_ace_print() 2925 id = zace.z_fuid; in zfs_ace_print() 2929 return (zfs_ace_print_common(addr, flags, id, zace.z_hdr.z_access_mask, in zfs_ace_print() 2930 zace.z_hdr.z_flags, zace.z_hdr.z_type, verbose)); in zfs_ace_print() 3155 zfs_ace_t zace; in zfs_aces_walk_step() local 3165 if (mdb_vread(&zace, sizeof (zfs_ace_t), wsp->walk_addr) == -1) { in zfs_aces_walk_step() 3173 acep = (ace_t *)&zace; in zfs_aces_walk_step() [all …]
|