Lines Matching refs:result
399 int result, ret, i;
403 result = scope->ks_callback(credential, scope->ks_idata, action, arg0, arg1, arg2, arg3);
405 result = KAUTH_RESULT_DEFER;
424 (result == KAUTH_RESULT_DEFER))
425 result = ret;
431 return(result == KAUTH_RESULT_ALLOW ? 0 : EPERM);
498 /* no explicit result, so defer to others in the chain */
504 * of the file system operation, not an authorization check. Thus the result is
600 /* no explicit result, so defer to others in the chain */
771 * ACL is in initial, and the result is output into product.
782 kauth_acl_t inherit, result;
806 * Compute the number of entries in the result ACL by scanning the
845 * Allocate the result buffer.
847 if ((result = kauth_acl_alloc(entries)) == NULL) {
848 KAUTH_DEBUG(" ERROR - could not allocate %d-entry result buffer for inherited ACL", entries);
861 result->acl_ace[index++] = initial->acl_ace[i];
874 result->acl_ace[index] = inherit->acl_ace[i];
875 result->acl_ace[index].ace_flags |= KAUTH_ACE_INHERITED;
883 if ((result->acl_ace[index].ace_flags & KAUTH_ACE_LIMIT_INHERIT) || !isdir) {
884 result->acl_ace[index].ace_flags &=
891 result->acl_entrycount = index;
892 *product = result;