We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b15c7e commit 833bc12Copy full SHA for 833bc12
platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
@@ -133,6 +133,15 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende
133
return NSTerminateCancel;
134
}
135
136
+- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)sender {
137
+ // macOS 12.0+
138
+ // We do not handle save/restore ourselves. Thus, it is fine to let
139
+ // the operating system handle it securely.
140
+ // See https://sector7.computest.nl/post/2022-08-process-injection-
141
+ // breaking-all-macos-security-layers-with-a-single-vulnerability/
142
+ return YES;
143
+}
144
+
145
- (void) initializeTheWindowHandler {
146
[windowHandler mainViewOnWindow: self.mainView];
147
self.mainView.windowLogic = windowHandler;
0 commit comments