X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/dbe775057b53a81d9983d810772462c3233fccd3..918dce6758f4f57e8c0b650cb5eead501f6684ca:/OSX/libsecurity_codesigning/lib/SecCodePriv.h diff --git a/OSX/libsecurity_codesigning/lib/SecCodePriv.h b/OSX/libsecurity_codesigning/lib/SecCodePriv.h index 3bce444b..d88239c8 100644 --- a/OSX/libsecurity_codesigning/lib/SecCodePriv.h +++ b/OSX/libsecurity_codesigning/lib/SecCodePriv.h @@ -145,7 +145,7 @@ OSStatus SecCodeCopyInternalRequirement(SecStaticCodeRef code, SecRequirementTyp */ OSStatus SecCodeCreateWithAuditToken(const audit_token_t *audit, SecCSFlags flags, SecCodeRef *process) - AVAILABLE_MAC_OS_X_VERSION_10_14_4_AND_LATER; + AVAILABLE_MAC_OS_X_VERSION_10_15_AND_LATER; /* Deprecated and unsafe, DO NOT USE. */ OSStatus SecCodeCreateWithPID(pid_t pid, SecCSFlags flags, SecCodeRef *process) @@ -220,6 +220,28 @@ CFDataRef SecCodeCopyComponent(SecCodeRef code, int slot, CFDataRef hash); */ OSStatus SecCodeValidateFileResource(SecStaticCodeRef code, CFStringRef relativePath, CFDataRef fileData, SecCSFlags flags); + +/* + @constant kSecCSStrictValidateStructure + A subset of the work kSecCSStrictValidate performs, omitting work that + is unnecessary on some platforms. Since the definition of what can be + omitted is in flux, and since we would like to remove that notion + entirely eventually, we makes this a private flag. + */ +CF_ENUM(uint32_t) { + kSecCSStrictValidateStructure = 1 << 13, +}; + +#if TARGET_OS_OSX +/* Here just to make TAPI happy. */ +extern int GKBIS_DS_Store_Present; +extern int GKBIS_Dot_underbar_Present; +extern int GKBIS_Num_localizations; +extern int GKBIS_Num_files; +extern int GKBIS_Num_dirs; +extern int GKBIS_Num_symlinks; +#endif /* TARGET_OS_OSX */ + #ifdef __cplusplus } #endif