Lines Matching refs:inherit
644 * Skip inherit-only entries.
782 kauth_acl_t inherit, result;
793 inherit = NULL;
802 inherit = dva.va_acl;
810 if (inherit != NULL) {
811 for (i = 0; i < inherit->acl_entrycount; i++) {
812 if (inherit->acl_ace[i].ace_flags & (isdir ? KAUTH_ACE_DIRECTORY_INHERIT : KAUTH_ACE_FILE_INHERIT))
864 if (inherit != NULL) {
865 for (i = 0; i < inherit->acl_entrycount; i++) {
867 * Inherit onto this object? We inherit only if
873 if (inherit->acl_ace[i].ace_flags & (isdir ? KAUTH_ACE_DIRECTORY_INHERIT : KAUTH_ACE_FILE_INHERIT)) {
874 result->acl_ace[index] = inherit->acl_ace[i];
877 * We do not re-inherit inheritance flags
896 if (inherit != NULL)
897 kauth_acl_free(inherit);