Lines Matching refs:initial
644 KAUTH_DEBUG(" ACL - %d entries, initial residual %x", eval->ae_count, eval->ae_residual);
778 * ACL is in initial, and the result is output into product.
784 kauth_acl_inherit(vnode_t dvp, kauth_acl_t initial, kauth_acl_t *product, int isdir, vfs_context_t ctx)
795 * inheritance semantics; we just want to compose the initial
802 * If there is no initial ACL, or there is, and the initial ACLs
804 * initial object creation via open_extended() and mkdir_extended()
809 if ((initial == NULL || !(initial->acl_flags & KAUTH_ACL_NO_INHERIT)) &&
846 if (initial == NULL) {
848 * XXX 3634665 TODO: if the initial ACL is not specfied by
850 * and use it in place of "initial".
854 if (initial != NULL) {
855 if (initial->acl_entrycount != KAUTH_FILESEC_NOACL)
856 entries += initial->acl_entrycount;
858 initial = NULL;
862 * If there is no initial ACL, and no inheritable entries, the
864 * Note that this differs from the case where the initial ACL
867 if ((entries == 0) && (initial == NULL)) {
884 * - initial direct ACEs
888 if (initial != NULL) {
889 for (i = 0; i < initial->acl_entrycount; i++) {
890 if (!(initial->acl_ace[i].ace_flags & KAUTH_ACE_INHERITED)) {
891 result->acl_ace[index++] = initial->acl_ace[i];
894 KAUTH_DEBUG(" INHERIT - applied %d of %d initial entries", index, initial->acl_entrycount);
959 * Our largest initial guess is 32; this needs to move to