Searched refs:acl (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_authorization.c1093 * Set the endianness of a filesec and an ACL; if 'acl' is NULL, use the
1100 * acl The ACL to convert (optional)
1109 kauth_filesec_acl_setendian(int kendian, kauth_filesec_t fsec, kauth_acl_t acl) argument
1120 if (acl == NULL)
1121 acl = &fsec->fsec_acl;
1123 compare_acl_entrycount = acl->acl_entrycount;
1135 compare_acl_entrycount = ntohl(acl->acl_entrycount);
1147 acl->acl_entrycount = ntohl(acl->acl_entrycount);
1149 acl
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs4_subs.c1538 kauth_acl_t acl = NULL; local
1656 if (!error && !((acl = kauth_acl_alloc(val))))
1658 if (!error && acl) {
1659 acl->acl_entrycount = val;
1660 acl->acl_flags = 0;
1671 acl->acl_ace[i].ace_flags = nfs4_ace_nfstype_to_vfstype(ace_type, &error);
1672 acl->acl_ace[i].ace_flags |= nfs4_ace_nfsflags_to_vfsflags(ace_flags);
1673 acl->acl_ace[i].ace_rights = nfs4_ace_nfsmask_to_vfsrights(ace_mask);
1693 error2 = nfs4_id2guid(s, &acl->acl_ace[i].ace_applicable,
1703 nvap->nva_acl = acl;
2182 kauth_acl_t acl; local
[all...]
H A Dnfs_subs.c1343 kauth_acl_t acl; local
1418 acl = npnvap->nva_acl;
1494 /* make a copy of the acl for the cache */
1505 if (acl) {
1506 kauth_acl_free(acl);
1507 acl = NULL;
1517 npnvap->nva_acl = acl;
/darwin-on-arm/xnu/security/
H A Dmac_vfs.c979 struct acl *acl)
989 MAC_CHECK(vnode_check_setacl, cred, vp, vp->v_label, type, acl);
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c2202 * Get a filesec and optional acl contents from an extended attribute.
2345 * Set a filesec and optional acl contents into an extended attribute.
2347 * write to a named extended attribute (KAUTH_FILESEC_XATTR). The 'acl'
2349 * original caller supplied an acl.
2353 * acl The acl to be associated with 'fsec'.
2360 * Notes: Both the fsec and the acl are always valid.
2363 * as are the acl contents, if they are used. Internally, we will
2376 vnode_set_filesec(vnode_t vp, kauth_filesec_t fsec, kauth_acl_t acl, vfs_context_t ctx) argument
2393 saved_acl_copysize = KAUTH_ACL_COPYSIZE(acl);
[all...]

Completed in 91 milliseconds