Made sure that the root XPC service validate the right before starting the service. The right is created and authenticated by clients (in this case, lldb) and transferred over for validiation. llvm-svn: 152802
17 lines
704 B
C
17 lines
704 B
C
#ifndef LLDB_LauncherXPCService_h
|
|
#define LLDB_LauncherXPCService_h
|
|
|
|
#define LaunchUsingXPCRightName "com.apple.lldb.LaunchUsingXPC"
|
|
|
|
// These XPC messaging keys are used for communication between Host.mm and the XPC service.
|
|
#define LauncherXPCServiceAuthKey "auth-key"
|
|
#define LauncherXPCServiceArgPrefxKey "arg"
|
|
#define LauncherXPCServiceEnvPrefxKey "env"
|
|
#define LauncherXPCServiceCPUTypeKey "cpuType"
|
|
#define LauncherXPCServicePosixspawnFlagsKey "posixspawnFlags"
|
|
#define LauncherXPCServiceChildPIDKey "childPID"
|
|
#define LauncherXPCServiceErrorTypeKey "errorType"
|
|
#define LauncherXPCServiceCodeTypeKey "errorCode"
|
|
|
|
#endif
|