On 23 Aug 2016, at 17:53, James Bucanek <subscri...@gloaming.com> wrote:
> P.S. I would be nice if the UserName launchd property would also accept a > number and interpret it as a UID: <key>UserName</key><integer>501</integer>. Yeah, that’s not really how launchd is architected. > Each daemon is named after its user: com.qrecall.switchboard.501, > com.qrecall.switchboard.502, and so on. Each user connects only with its > switchboard, and that switchboard only manages endpoints belonging to that > user. Hmmm, that’s weird. How do you stop code running as user 502 connecting to the `com.qrecall.switchboard.501` service? Presumable the daemon has a user ID check on its IPC. If you’re doing that anyway, you could just have one daemon that handles all users. Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/launchd-dev