Re: SCDynamicStore ConsoleUser change callback not working on Tiger?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com vendredi 6 mai 2005, à 10:05 AM, Daniel Becker a écrit : Hi all, I would check: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have a daemon which registers a callback with SCDynamicStore to get notified of console user changes. This seems to work just fine on Panther, but it appears the callback never gets triggered on Tiger. Were there any relevant changes in Tiger's SCDynamicStore that I should be aware of? Any other suggestions? (The relevant code is given below.) - that the daemon is really launched on Tiger (if it's launched by a StartupItem, due to permission enforcement changes, this might be an explanatio). - that the daemon is launched after CoreServices is enabled. This was a "funny" discovery with Tiger, you can have a StartupItem be launched before CoreServices is enabled and in this case, you can say bye bye to your daemon if it calls some CoreFoundation APIs (for instance related to CFMessagePort). This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre