Home
last modified time | relevance | path

Searched refs:acl_aclp (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c162 acl_info->acl_aclp = in cacl_get()
166 if (acl_info->acl_aclp == NULL) { in cacl_get()
175 acl_info->acl_aclp); in cacl_get()
179 acl_info->acl_aclp); in cacl_get()
202 if (ace_trivial(acl_info->acl_aclp, acl_info->acl_cnt) == 0) in cacl_get()
291 aclp->acl_cnt, aclp->acl_aclp); in cacl_set()
295 aclp->acl_cnt, aclp->acl_aclp); in cacl_set()
342 newaclp->acl_aclp = malloc(aclp->acl_entry_size * aclp->acl_cnt); in acl_dup()
343 if (newaclp->acl_aclp == NULL) { in acl_dup()
348 (void) memcpy(newaclp->acl_aclp, in acl_dup()
[all …]
H A Dacl.y106 $$->acl_aclp = realloc($$->acl_aclp,
108 if ($$->acl_aclp == NULL) {
113 acep = $$->acl_aclp;
141 $$->acl_aclp = realloc($$->acl_aclp,
143 if ($$->acl_aclp == NULL) {
148 aclent = $$->acl_aclp;
H A Dacltext.c218 for (tp = aclp->acl_aclp; tp && aclcnt--; tp++) { in aclent_printacl()
223 for (tp = aclp->acl_aclp; aclcnt--; tp++) { in aclent_printacl()
829 aclentp = aclp->acl_aclp; in aclfromtext()
830 aclp->acl_aclp = NULL; in aclfromtext()
912 ace_t *aclp = aceaclp->acl_aclp; in ace_acltotext()
1011 txtp = aclent_acltotext(aclp->acl_aclp, aclp->acl_cnt, flags); in acl_totext()
1078 for (cnt = 0, acep = aclp->acl_aclp; in ace_compact_printacl()
H A Daclcheck.c313 for (i = 0, acep = aclp->acl_aclp; in ace_aclcheck()
368 error = aclent_aclcheck(aclp->acl_aclp, aclp->acl_cnt, in acl_check()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_acl.c359 for (numaces = 0, zace = zacl->acl_aclp; in smb_acl_from_zfs()
430 zace = zacl->acl_aclp; in smb_acl_to_zfs()
468 zace = zacl->acl_aclp; in smb_acl_to_zfs()
527 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; in smb_fsacl_getsids()
593 zace = zacl->acl_aclp; in smb_fsacl_null_empty()
618 acl->acl_aclp = kmem_zalloc(acl->acl_entry_size * acenum, KM_SLEEP); in smb_fsacl_alloc()
649 bcopy(dacl->acl_aclp, acl->acl_aclp, dacl_size); in smb_fsacl_merge()
650 bcopy(sacl->acl_aclp, (char *)acl->acl_aclp + dacl_size, in smb_fsacl_merge()
679 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; zace++, i++) { in smb_fsacl_split()
688 access_ace = (*dacl)->acl_aclp; in smb_fsacl_split()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_acl.c314 for (numaces = 0, zace = zacl->acl_aclp; in smb_acl_from_zfs()
384 zace = zacl->acl_aclp; in smb_acl_to_zfs()
419 zace = zacl->acl_aclp; in smb_acl_to_zfs()
478 for (i = 0, zace = zacl->acl_aclp; i < zacl->acl_cnt; in smb_fsacl_getsids()
545 zace = zacl->acl_aclp; in smb_fsacl_null_empty()
570 if ((acl->acl_aclp = malloc(acl->acl_entry_size * acenum)) == NULL) in smb_fsacl_alloc()
H A Dsmb_sd.c173 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()
/illumos-gate/usr/src/test/libsec-tests/cmd/
H A Dacl_from_text.c57 lib_acep = lib->acl_aclp; in acl_compare()
58 ref_acep = ref->acl_aclp; in acl_compare()
H A Dacl_canned.c100 .acl_aclp = aces_canned
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c119 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()
/illumos-gate/usr/src/uts/common/sys/
H A Dacl_impl.h52 void *acl_aclp; /* the acl */ member
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c274 aclp->acl_aclp = NULL; in acl_alloc()
304 if (aclp->acl_aclp) { in acl_free()
306 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()
/illumos-gate/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c916 acl_info->acl_aclp != NULL || in smbfs_acl_sd2zfs()
1129 acl_info->acl_aclp = zacep0; in smbfs_acl_sd2zfs()
1471 zacevec = acl_info->acl_aclp; in smbfs_acl_zfs2sd()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dgenacl.c765 ent = sysacl->acl_aclp; in l9p_illumos_nfsv4acl_to_acl()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c896 for (i = 0, acl_entry = acl->acl_aclp; in aclmatch()