/titanic_44/usr/src/lib/libsec/common/ |
H A D | aclutils.c | 160 acl_info->acl_aclp = in cacl_get() 164 if (acl_info->acl_aclp == NULL) { in cacl_get() 173 acl_info->acl_aclp); in cacl_get() 177 acl_info->acl_aclp); in cacl_get() 200 if (ace_trivial(acl_info->acl_aclp, acl_info->acl_cnt) == 0) in cacl_get() 289 aclp->acl_cnt, aclp->acl_aclp); in cacl_set() 293 aclp->acl_cnt, aclp->acl_aclp); in cacl_set() 340 newaclp->acl_aclp = malloc(aclp->acl_entry_size * aclp->acl_cnt); in acl_dup() 341 if (newaclp->acl_aclp == NULL) { in acl_dup() 346 (void) memcpy(newaclp->acl_aclp, in acl_dup() [all …]
|
H A D | acl.y | 102 $$->acl_aclp = realloc($$->acl_aclp, 104 if ($$->acl_aclp == NULL) { 109 acep = $$->acl_aclp; 137 $$->acl_aclp = realloc($$->acl_aclp, 139 if ($$->acl_aclp == NULL) { 144 aclent = $$->acl_aclp;
|
H A D | acltext.c | 188 for (tp = aclp->acl_aclp; tp && aclcnt--; tp++) { in aclent_printacl() 193 for (tp = aclp->acl_aclp; aclcnt--; tp++) { in aclent_printacl() 799 aclentp = aclp->acl_aclp; in aclfromtext() 800 aclp->acl_aclp = NULL; in aclfromtext() 882 ace_t *aclp = aceaclp->acl_aclp; in ace_acltotext() 981 txtp = aclent_acltotext(aclp->acl_aclp, aclp->acl_cnt, flags); in acl_totext() 1048 for (cnt = 0, acep = aclp->acl_aclp; in ace_compact_printacl()
|
H A D | aclcheck.c | 314 for (i = 0, acep = aclp->acl_aclp; in ace_aclcheck() 369 error = aclent_aclcheck(aclp->acl_aclp, aclp->acl_cnt, in acl_check()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 315 for (numaces = 0, zace = zacl->acl_aclp; in smb_acl_from_zfs() 386 zace = zacl->acl_aclp; in smb_acl_to_zfs() 424 zace = zacl->acl_aclp; in smb_acl_to_zfs() 482 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; in smb_fsacl_getsids() 543 zace = zacl->acl_aclp; in smb_fsacl_null_empty() 568 acl->acl_aclp = kmem_zalloc(acl->acl_entry_size * acenum, KM_SLEEP); in smb_fsacl_alloc() 599 bcopy(dacl->acl_aclp, acl->acl_aclp, dacl_size); in smb_fsacl_merge() 600 bcopy(sacl->acl_aclp, (char *)acl->acl_aclp + dacl_size, in smb_fsacl_merge() 629 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; zace++, i++) { in smb_fsacl_split() 638 access_ace = (*dacl)->acl_aclp; in smb_fsacl_split() [all …]
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 262 for (numaces = 0, zace = zacl->acl_aclp; in smb_acl_from_zfs() 332 zace = zacl->acl_aclp; in smb_acl_to_zfs() 367 zace = zacl->acl_aclp; in smb_acl_to_zfs() 425 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; in smb_fsacl_getsids() 486 zace = zacl->acl_aclp; in smb_fsacl_null_empty() 511 if ((acl->acl_aclp = malloc(acl->acl_entry_size * acenum)) == NULL) in smb_fsacl_alloc()
|
H A D | smb_sd.c | 173 if ((z_ace = (ace_t *)z_acl->acl_aclp) == NULL) in smb_sd_read_acl() 233 z_ace = (ace_t *)z_acl->acl_aclp; in smb_sd_write_acl()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | acl_impl.h | 54 void *acl_aclp; /* the acl */ member
|
/titanic_44/usr/src/cmd/chmod/ |
H A D | chmod.c | 119 acl_t *acl_aclp; member 649 new_acl_args->acl_aclp = new_acl; in parse_acl_args() 739 acl_args->acl_aclp, acl_args->acl_slot)) != 0) { in doacl() 771 to = (char *)aclp->acl_aclp + in doacl() 783 if ((error = acl_removeentries(aclp, acl_args->acl_aclp, in doacl() 802 error = acl_modifyentries(aclp, acl_args->acl_aclp, in doacl() 811 set_aclp = acl_args->acl_aclp; in doacl()
|
/titanic_44/usr/src/common/acl/ |
H A D | acl_common.c | 273 aclp->acl_aclp = NULL; in acl_alloc() 303 if (aclp->acl_aclp) { in acl_free() 305 cacl_free(aclp->acl_aclp, acl_size); in acl_free() 1526 error = convert_aent_to_ace(aclp->acl_aclp, in acl_translate() 1533 error = convert_ace_to_aent(aclp->acl_aclp, aclp->acl_cnt, in acl_translate() 1545 cacl_free(aclp->acl_aclp, aclp->acl_cnt * aclp->acl_entry_size); in acl_translate() 1546 aclp->acl_aclp = acldata; in acl_translate()
|
/titanic_44/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 913 acl_info->acl_aclp != NULL || in smbfs_acl_sd2zfs() 1126 acl_info->acl_aclp = zacep0; in smbfs_acl_sd2zfs() 1468 zacevec = acl_info->acl_aclp; in smbfs_acl_zfs2sd()
|
/titanic_44/usr/src/cmd/find/ |
H A D | find.c | 1105 for (i = 0, acl_entry = acl->acl_aclp;
|