/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_byteswap.c | 34 zfs_oldace_byteswap(ace_t *ace, int ace_cnt) in zfs_oldace_byteswap() 55 ace_t *acep; in zfs_ace_byteswap() 88 if (ptr + sizeof (ace_t) > end) { in zfs_ace_byteswap() 91 acep = (ace_t *)ptr; in zfs_ace_byteswap() 103 sizeof (zfs_ace_hdr_t) : sizeof (ace_t); in zfs_ace_byteswap() 127 sizeof (ace_t); in zfs_ace_byteswap() 146 cnt = size / sizeof (ace_t); in zfs_oldacl_byteswap() 148 zfs_oldace_byteswap((ace_t *)buf, cnt); in zfs_oldacl_byteswap() 196 zfs_oldace_byteswap((ace_t *)&zp->zp_acl.z_ace_data[0], in zfs_znode_byteswap()
|
H A D | zfs_replay.c | 860 ace_t *ace = (ace_t *)(lr + 1); /* ace array follows lr_acl_t */ in zfs_replay_acl_v0() 876 vsa.vsa_aclentsz = sizeof (ace_t) * vsa.vsa_aclcnt; in zfs_replay_acl_v0() 906 ace_t *ace = (ace_t *)(lr + 1); in zfs_replay_acl()
|
H A D | zfs_acl.c | 675 ace_t *acep = datap; in zfs_copy_ace_2_fuid() 711 acep = (ace_t *)((caddr_t)acep + sizeof (ace_object_t)); in zfs_copy_ace_2_fuid() 714 acep = (ace_t *)((caddr_t)acep + sizeof (ace_t)); in zfs_copy_ace_2_fuid() 737 ace_t *acep = datap; in zfs_copy_fuid_2_ace() 767 ace_size = sizeof (ace_t); in zfs_copy_fuid_2_ace() 784 acep = (ace_t *)((caddr_t)acep + ace_size); in zfs_copy_fuid_2_ace() 789 zfs_copy_ace_2_oldace(vtype_t obj_type, zfs_acl_t *aclp, ace_t *acep, in zfs_copy_ace_2_oldace() 1895 aclsz = count * sizeof (ace_t) + in zfs_getacl() 1951 (ace_t *)vsecp->vsa_aclentp, aclnode->z_acldata, in zfs_vsec_2_aclp()
|
H A D | zfs_log.c | 680 bcopy(vsecp->vsa_aclentp, (ace_t *)(lrv0 + 1), aclbytes); in zfs_log_acl() 682 void *start = (ace_t *)(lr + 1); in zfs_log_acl()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 87 static const ace_t default_dacl[DEFAULT_DACL_ACENUM] = { 106 static void smb_ace_inherit(ace_t *, ace_t *, int, uid_t, gid_t); 114 static boolean_t smb_ace_wellknown_update(const char *, ace_t *); 333 ace_t *zace; in smb_acl_from_zfs() 401 ace_t *zace; in smb_acl_to_zfs() 486 smb_ace_wellknown_update(const char *sid, ace_t *zace) in smb_ace_wellknown_update() 519 ace_t *zace; in smb_fsacl_getsids() 590 ace_t *zace; in smb_fsacl_null_empty() 667 ace_t *zace; in smb_fsacl_split() 668 ace_t *access_ace = NULL; in smb_fsacl_split() [all …]
|
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.c | 280 aclp->acl_entry_size = sizeof (ace_t); in acl_alloc() 435 ace_make_deny(ace_t *allow, ace_t *deny, int isdir, int isowner) in ace_make_deny() 437 (void) memcpy(deny, allow, sizeof (ace_t)); in ace_make_deny() 508 ln_aent_to_ace(aclent_t *aclent, int n, ace_t **acepp, int *rescount, int isdir) in ln_aent_to_ace() 515 ace_t *acep, *result = NULL; in ln_aent_to_ace() 540 if (cacl_malloc((void **)&result, resultsize * sizeof (ace_t)) != 0) in ln_aent_to_ace() 666 cacl_free(result, resultsize * sizeof (ace_t)); in ln_aent_to_ace() 675 ace_t **retacep, int *retacecnt) in convert_aent_to_ace() 677 ace_t *acep; in convert_aent_to_ace() 678 ace_t *dfacep; in convert_aent_to_ace() [all …]
|
H A D | acl_common.h | 47 extern void adjust_ace_pair(ace_t *pair, mode_t mode); 49 extern int ace_trivial(ace_t *acep, int aclcnt); 59 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 69 ace_t *acep; in acl_trivial() 81 acep = malloc(sizeof (ace_t) * aclcnt); in acl_trivial() 396 ace_t *min_ace_acl; in acl_strip() 449 ace_t *p1 = (ace_t *)entry1; in ace_match() 450 ace_t *p2 = (ace_t *)entry2; in ace_match() 451 ace_t ace1, ace2; in ace_match() 464 return (memcmp(&ace1, &ace2, sizeof (ace_t))); in ace_match()
|
H A D | acl.y | 41 ace_t ace; 85 ace_t *acep;
|
H A D | acltext.c | 410 ace_type_txt(dynaclstr_t *dynstr, ace_t *acep, int flags) in ace_type_txt() 912 ace_t *aclp = aceaclp->acl_aclp; in ace_acltotext() 1064 ace_t *acep; in ace_compact_printacl()
|
H A D | aclcheck.c | 302 ace_t *acep; in ace_aclcheck()
|
/illumos-gate/usr/src/test/libsec-tests/cmd/ |
H A D | acl_canned.c | 32 ace_t aces_canned[] = { 98 .acl_entry_size = sizeof (ace_t),
|
H A D | acl_from_text.c | 36 ace_t *lib_acep; in acl_compare() 37 ace_t *ref_acep; in acl_compare()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 69 static boolean_t smb_ace_wellknown_update(const char *, ace_t *); 288 ace_t *zace; in smb_acl_from_zfs() 357 ace_t *zace; in smb_acl_to_zfs() 437 smb_ace_wellknown_update(const char *sid, ace_t *zace) in smb_ace_wellknown_update() 470 ace_t *zace; in smb_fsacl_getsids() 542 ace_t *zace; in smb_fsacl_null_empty()
|
H A D | smb_sd.c | 157 ace_t *z_ace; in smb_sd_read_acl() 173 if ((z_ace = (ace_t *)z_acl->acl_aclp) == NULL) in smb_sd_read_acl() 226 ace_t *z_ace; in smb_sd_write_acl() 233 z_ace = (ace_t *)z_acl->acl_aclp; in smb_sd_write_acl()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | acl.c | 147 entry_size = sizeof (ace_t); in cacl() 229 aclbsize = vsecattr.vsa_aclcnt * sizeof (ace_t); in cacl() 326 aclbsize = nentries * sizeof (ace_t); in cacl()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_acl.h | 176 #define ZFS_ACL_SIZE(aclcnt) (sizeof (ace_t) * (aclcnt)) 213 void zfs_oldace_byteswap(ace_t *, int);
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 823 ntace2zace(ace_t *zacep, i_ntace_t *ntace, struct mapinfo2uid *mip) in ntace2zace() 902 ace_t *zacep0, *zacep; in smbfs_acl_sd2zfs() 917 acl_info->acl_entry_size != sizeof (ace_t)) in smbfs_acl_sd2zfs() 1070 zacl_size = zacecnt * sizeof (ace_t); in smbfs_acl_sd2zfs() 1347 zace2ntace(i_ntace_t **ntacep, ace_t *zacep, struct mapinfo2sid *mip) in zace2ntace() 1430 ace_t *zacevec = NULL; in smbfs_acl_zfs2sd() 1431 ace_t *zacep; in smbfs_acl_zfs2sd() 1468 acl_info->acl_entry_size != sizeof (ace_t)) in smbfs_acl_zfs2sd()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 960 ace_t buf[NATIVE_TRIVIAL_ACL_CNT]; in has_trivial_native_acl() 1079 make_trivial_s10_acl(const char *fname, int fd, ace_t *bp) in make_trivial_s10_acl() 1084 ace_t trivial_s10_acl[] = { in make_trivial_s10_acl() 1111 s10_adjust_ace_mask(&trivial_s10_acl[0], offsetof(ace_t, a_access_mask), in make_trivial_s10_acl() 1112 sizeof (ace_t), (buf.st_mode & 0700) >> 6); in make_trivial_s10_acl() 1113 s10_adjust_ace_mask(&trivial_s10_acl[2], offsetof(ace_t, a_access_mask), in make_trivial_s10_acl() 1114 sizeof (ace_t), (buf.st_mode & 0070) >> 3); in make_trivial_s10_acl() 1115 s10_adjust_ace_mask(&trivial_s10_acl[4], offsetof(ace_t, a_access_mask), in make_trivial_s10_acl() 1116 sizeof (ace_t), buf.st_mode & 0007); in make_trivial_s10_acl()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_fssub.c | 315 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp, in fs_fab_acl() 317 vsecattr->vsa_aclentsz = vsecattr->vsa_aclcnt * sizeof (ace_t); in fs_fab_acl()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 80 static int acet_to_ace4(ace_t *, nfsace4 *, int); 81 static int ace4_to_acet(nfsace4 *, ace_t *, uid_t, gid_t, int); 245 vsp->vsa_aclcnt * sizeof (ace_t)); in vs_acet_destroy() 1659 acet_to_ace4(ace_t *ace, nfsace4 *nfsace4, int isserver) in acet_to_ace4() 1751 ace4_to_acet(nfsace4 *nfsace4, ace_t *ace, uid_t owner, gid_t group, in ace4_to_acet() 1987 sizeof (ace_t), KM_SLEEP); in vs_ace4_to_acet() 1988 vs_acet->vsa_aclentsz = vs_ace4->vsa_aclcnt * sizeof (ace_t); in vs_ace4_to_acet() 1996 (ace_t *)(vs_acet->vsa_aclentp) + i, owner, group, in vs_ace4_to_acet() 2031 error = acet_to_ace4((ace_t *)(vs_acet->vsa_aclentp) + i, in vs_acet_to_ace4()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 656 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp, in fs_fab_acl() 658 vsecattr->vsa_aclentsz = vsecattr->vsa_aclcnt * sizeof (ace_t); in fs_fab_acl() 824 vsecattr.vsa_aclcnt * sizeof (ace_t)); in fs_acl_nontrivial()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | acl.h | 53 } ace_t; typedef
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 1347 ace_t *acl; in fop_getsecattr() 1349 acl = kmem_alloc(sizeof (ace_t), KM_SLEEP); in fop_getsecattr() 1357 vsecattr->vsa_aclentsz = sizeof (ace_t); in fop_getsecattr()
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | format.c | 3136 pa_ace_flags(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_flags() 3182 pa_ace_who(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_who() 3248 pa_ace_access_mask(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_access_mask() 3384 pa_ace_type(pr_context_t *context, ace_t *ace, int status, int flag) in pa_ace_type() 3429 ace_t ace; in pa_ace()
|