Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsec/common/
H A Daclutils.c336 acl_t *newaclp; in acl_dup() local
338 newaclp = acl_alloc(aclp->acl_type); in acl_dup()
339 if (newaclp == NULL) in acl_dup()
342 newaclp->acl_aclp = malloc(aclp->acl_entry_size * aclp->acl_cnt); in acl_dup()
343 if (newaclp->acl_aclp == NULL) { in acl_dup()
344 acl_free(newaclp); in acl_dup()
348 (void) memcpy(newaclp->acl_aclp, in acl_dup()
350 newaclp->acl_cnt = aclp->acl_cnt; in acl_dup()
352 return (newaclp); in acl_dup()