]> git.saurik.com Git - apple/launchd.git/blame - launchd/src/StartupItemContext.8
launchd-106.10.tar.gz
[apple/launchd.git] / launchd / src / StartupItemContext.8
CommitLineData
e91b9f68
A
1.Dd July 7, 2002
2.Dt StartupItemContext 8
3.Os Darwin
4.Sh NAME
5.Nm StartupItemContext
6.\" The following lines are read in generating the apropos(man -k) database. Use only key
7.\" words here as the database is built based on the words here and in the .ND line.
8.\" Use .Nm macro to designate other names for the documented program.
9.Nd Execute a program in StartupItem context
10.Sh SYNOPSIS
11.Nm
12.Op Ar program Op Ar arguments
13.Sh DESCRIPTION
14The
15.Nm
16utility launches the specified program in StartupItem bootstrap context. Each Darwin
17and Mac OS X login creates a unique bootstrap subset context to contain login specific
18Mach port registrations with the bootstrap server. All such registrations performed
19within the context of that subset are only visible to other processes within that
20context or subsequent subsets of it. Therefore, a Mach port based service/daemon
21launched within a login context will not be visible to other such contexts.
22.Pp
23To override this, a root user can use the
24.Nm
25utility to launch the program within the same bootstrap context as all other
26StartupItems. All subsequent Mach port bootstrap registrations perfomed by the program
27will be visible system-wide.
28.Sh NOTES
29All bootstrap port lookups will also be resticted
30to the StartupItem context. The services provided on a per-login basis (clipboard,
31etc...) will not be available to the program.
32.Sh SEE ALSO
33.\" List links in ascending order by section, alphabetically within a section.
34.\" Please do not reference files that do not exist without filing a bug report
35.Xr SystemStarter 8