Things to figure out later

There's a -[NSApplication _registerWithDock] that is called as part of -[NSApplication init].
The registerWithDock call seems to do nothing for NSApplications with the process name set to @"pbs" (there's a -[NSProcessInfo processName] followed by a -[NSCFString isEqualToString:@"pbs"]).

Has the pasteboard server been a NSApplication at some point and this is dead code left behind?


When running an application OS X calls CheckIfApplicationIsAllowedToExecute that tries to open /System/Library/CoreServices/incompatibleApps, a property list file. This is not related to parental controls, so it must be a way to deny execution based on application name and build version but I'm yet to find this described anywhere.