Skip to content

NetworkExtension macOS xcode14.1 b1

Israel Soto edited this page Sep 21, 2022 · 3 revisions

#NetworkExtension.framework https://github.com/xamarin/xamarin-macios/pull/16066

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterDataProvider.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterDataProvider.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterDataProvider.h	2022-08-05 16:55:35.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterDataProvider.h	2022-09-09 11:35:02.000000000 -0400
@@ -48,7 +48,7 @@
  * @method handleNewFlow:
  * @discussion This function is called by the framework when a filtering decision needs to be made about a new network data flow. Subclasses must override this method to implement the steps necessary to match the flow against some locally stored rules and return an appropriate verdict.
  * @param flow An NEFilterFlow object containing details about the new flow.
- * @return An NEFilterNewFlowVerdict object containing the veridct for the new flow.
+ * @return An NEFilterNewFlowVerdict object containing the verdict for the new flow.
  */
 - (NEFilterNewFlowVerdict *)handleNewFlow:(NEFilterFlow *)flow API_AVAILABLE(macos(10.15), ios(9.0)) API_UNAVAILABLE(tvos) __WATCHOS_PROHIBITED;
 
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterFlow.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterFlow.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterFlow.h	2022-08-05 13:40:37.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NetworkExtension.framework/Headers/NEFilterFlow.h	2022-09-07 14:39:42.000000000 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, 2018, 2020, 2021 Apple Inc.
+ * Copyright (c) 2015, 2016, 2018, 2020-2022 Apple Inc.
  * All rights reserved.
  */
 
@@ -70,6 +70,14 @@
 @property (readonly, nullable) NSData *sourceAppAuditToken API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos) __WATCHOS_PROHIBITED;
 
 /*!
+ * @property sourceProcessAuditToken
+ * @discussion The audit token of the process that created the flow. In cases where the connection was created by a system process on behalf of the source application,
+ * sourceProcessAuditToken will be different from sourceAppAuditToken and will contain the audit token of the system process. In cases where the source application directly
+ * created the connection sourceAppAuditToken and sourceProcessAuditToken will be identical.
+ */
+@property (readonly, nullable) NSData *sourceProcessAuditToken API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(ios, tvos) __WATCHOS_PROHIBITED;
+
+/*!
  * @property identifier
  * @discussion The unique identifier of the flow.
  */
Clone this wiki locally