Lines Matching refs:inherit
648 * Skip inherit-only entries.
789 kauth_acl_t inherit, result;
800 inherit = NULL;
803 * flags do not request "no inheritance", then we inherit. This allows
818 inherit = dva.va_acl;
823 * inherit, then we don't inherit. This allows for
827 if (inherit != NULL && inherit->acl_flags & KAUTH_ACL_NO_INHERIT) {
828 kauth_acl_free(inherit);
829 inherit = NULL;
839 if (inherit != NULL) {
840 for (i = 0; i < inherit->acl_entrycount; i++) {
841 if (inherit->acl_ace[i].ace_flags & (isdir ? KAUTH_ACE_DIRECTORY_INHERIT : KAUTH_ACE_FILE_INHERIT))
896 if (inherit != NULL) {
897 for (i = 0; i < inherit->acl_entrycount; i++) {
899 * Inherit onto this object? We inherit only if
905 if (inherit->acl_ace[i].ace_flags & (isdir ? KAUTH_ACE_DIRECTORY_INHERIT : KAUTH_ACE_FILE_INHERIT)) {
906 result->acl_ace[index] = inherit->acl_ace[i];
910 * We do not re-inherit inheritance flags
929 if (inherit != NULL)
930 kauth_acl_free(inherit);