Skip to content

Commit d241fca

Browse files
Coeurazat
authored andcommitted
Add Privacy Manifest for App Store submissions
Doc: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api From the API list, the libevent library only uses: - mach_absolute_time, but that one is avoided with HAVE_POSIX_MONOTONIC (default) instead of HAVE_MACH_MONOTONIC - fstat and stat in evbuffer_file_segment_new, which is covered by third-party SDK usage (0A2A.1) - fstat and stat in evutil_read_file_, which is used to read the "/etc/resolv.conf" and "/etc/hosts" files, for which there are no available supporting reasons
1 parent 7ede5af commit d241fca

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

Makefile.am

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ LIBEVENT_PKGCONFIG=libevent.pc libevent_core.pc libevent_extra.pc
101101
# included from other files.
102102
PLATFORM_DEPENDENT_SRC = \
103103
arc4random.c \
104-
epoll_sub.c \
105104
bufferevent_ssl.c \
105+
epoll_sub.c \
106+
PrivacyInfo.xcprivacy \
106107
test/regress_ssl.c
107108

108109
CMAKE_FILES = \

PrivacyInfo.xcprivacy

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTracking</key>
6+
<false/>
7+
<key>NSPrivacyCollectedDataTypes</key>
8+
<array/>
9+
<key>NSPrivacyTrackingDomains</key>
10+
<array/>
11+
<key>NSPrivacyAccessedAPITypes</key>
12+
<array>
13+
<dict>
14+
<key>NSPrivacyAccessedAPIType</key>
15+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
16+
<key>NSPrivacyAccessedAPITypeReasons</key>
17+
<array>
18+
<string>0A2A.1</string>
19+
</array>
20+
</dict>
21+
</array>
22+
</dict>
23+
</plist>

0 commit comments

Comments
 (0)