version 1.11.16.3, 2006/12/27 17:25:16
|
version 1.11.16.4, 2006/12/27 20:29:21
|
|
|
#define PROCSIZE sizeof(struct procsinfo) | #define PROCSIZE sizeof(struct procsinfo) |
} | } |
#endif | #endif |
|
|
#ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION |
|
# include <Pegasus/ExecutorClient/ExecutorClient.h> | # include <Pegasus/ExecutorClient/ExecutorClient.h> |
#endif |
|
| |
PEGASUS_USING_PEGASUS; | PEGASUS_USING_PEGASUS; |
PEGASUS_USING_STD; | PEGASUS_USING_STD; |
|
|
// get the pid of the cimserver process | // get the pid of the cimserver process |
server_pid = getpid(); | server_pid = getpid(); |
| |
#ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION |
|
|
|
// Ask the executor process to daemonize. | // Ask the executor process to daemonize. |
|
|
ExecutorClient::daemonizeExecutor(); | ExecutorClient::daemonizeExecutor(); |
| |
#endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */ |
|
|
|
return(0); | return(0); |
} | } |
| |