naiveproxy/src/third_party/apple_apsl
2022-05-29 18:11:59 +08:00
..
CFBase.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
CFRuntime.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
cssmapplePriv.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
DIR_METADATA Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
dnsinfo.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
LICENSE Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
malloc.h Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
OWNERS Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00
README.chromium Import chromium-102.0.5005.61 2022-05-29 18:11:59 +08:00

Name: Darwin
URL: http://www.opensource.apple.com/
Version: unknown
Security Critical: yes
License: Apple Public Source License 2.0

Four files are excerpted here:

malloc.h from:
https://opensource.apple.com/source/libmalloc/libmalloc-283/include/malloc/malloc.h

Modifications:
- Modified #ifdef guards.
- Removed everything but the definition of malloc_zone_t.
- Added a header for the definition of boolean_t.
- Renamed _malloc_zone_t to ChromeMallocZone to avoid possible name conflicts.

CFRuntime.h from:
http://www.opensource.apple.com/source/CF/CF-635/CFRuntime.h

Modifications:
- Modified #ifdef guards.
- Removed everything but the definition of CFRuntimeBase.
- Renamed CFRuntimeBase to ChromeCFRuntimeBase to avoid possible name conflicts.

CFBase.h from:
http://www.opensource.apple.com/source/CF/CF-550/CFBase.c
http://www.opensource.apple.com/source/CF/CF-635/CFBase.c

Modifications:
- Renamed the file to CFBase.h.
- Added #ifdef guards.
- Added an #include of the CFRuntime.h file.
- Removed everything but the definition of __CFAllocator.
- Modified the reference of CFRuntimeBase to ChromeCFRuntimeBase.
- Renamed __CFAllocator to ChromeCFAllocatorLeopards (from CF-550) and to
  ChromeCFAllocatorLions (from CF-635) to avoid possible name conflicts.

cssmapplePriv.h from:
http://www.opensource.apple.com/source/libsecurity_cssm/libsecurity_cssm-31536/lib/cssmapplePriv.h

Warning: Technically, this is a private Apple header, and as such provides no
guarantee for API stability. However, the use of this header is the only way
to implement OCSP checking per Apple's public documentation on the usage of
their Trust Policy Module. Further, the use of this private header is the
recommended approach from Apple for modifying OCSP policies.

See: http://developer.apple.com/documentation/Security/Reference/SecAppleTrustPolicyModuleSpec/Apple_Trust_Policy_Module_Functional_Specification.pdf
and http://lists.apple.com/archives/apple-cdsa/2008/Aug/msg00008.html

Modifications:
- Removed unneeded definitions for internal Apple CSP DL enums and structs
- Added a suppression for the warning "-Wdeprecated-declarations" since CSSM
  APIs are deprecated since OSX 10.7.

dnsinfo.h from:
http://www.opensource.apple.com/source/configd/configd-453.19/dnsinfo/dnsinfo.h

Provides dns_config_t which is used by /net/dns/dns_config_service_posix.cc to
obtain system DNS configuration on Mac OS X. This private header is also used by
Apple's open source mDNSResponder.

Modifications:
- Removed Availability.h and the corresponding macros.