StartupItemContext man page on OpenDarwin

Printed from http://www.polarhome.com/service/man/?qf=StartupItemContext&af=0&tf=2&of=OpenDarwin

StartupItemContext(8)	  BSD System Manager's Manual	 StartupItemContext(8)

NAME
     StartupItemContext — Execute a program in StartupItem context

SYNOPSIS
     StartupItemContext [program [arguments]]

DESCRIPTION
     The StartupItemContext utility launches the specified program in Star‐
     tupItem bootstrap context.	 Each Darwin and Mac OS X login creates a
     unique bootstrap subset context to contain login specific Mach port reg‐
     istrations with the bootstrap server.  All such registrations performed
     within the context of that subset are only visible to other processes
     within that context or subsequent subsets of it.  Therefore, a Mach port
     based service/daemon launched within a login context will not be visible
     to other such contexts.

     To override this, a root user can use the StartupItemContext utility to
     launch the program within the same bootstrap context as all other Star‐
     tupItems. All subsequent Mach port bootstrap registrations perfomed by
     the program will be visible system-wide.

NOTES
     All bootstrap port lookups will also be resticted to the StartupItem con‐
     text. The services provided on a per-login basis (clipboard, etc...) will
     not be available to the program.

SEE ALSO
     SystemStarter(8)

     mach_init(8)

     "Bootstrap Contexts Unleashed"
     http://developer.apple.com/techpubs/macosx/Darwin/General/KernelProgram‐
     ming/contexts/index.html

HISTORY
     The StartupItemContext

Darwin				 July 7, 2002				Darwin
[top]

List of man pages available for OpenDarwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net