Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Launchctl question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launchctl question



> Your agent should accept a message or signal that will cause it to
> restart itself. Why do you believe unloading and loading the agent is
> necessary? Are you running an installer or something?

Yes, this is part of an install.

> This will spawn a new process for your script in the bootstrap context
> that your agent is running in. The invocations of launchctl from that
> script will inherit the correct environment and talk to the correct
> launchd.

I just want to be using the lowest possible privilege at all times, as any
good application should do. I'm having trouble determining what permissions
the UID controls and what permissions the bootstrap context controls.



***********************************************************************

This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s).
Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint.

Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses
destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Launchctl question (From: Damien Sorresso <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.