(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.191.2.7 and 1.191.2.8

version 1.191.2.7, 2006/12/30 21:54:20 version 1.191.2.8, 2006/12/31 05:30:08
Line 125 
Line 125 
  
 #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION
 # include <Pegasus/ExecutorClient/ExecutorClient.h> # include <Pegasus/ExecutorClient/ExecutorClient.h>
   # include <Executor/Executor.h>
 # define PEGASUS_PROCESS_NAME "cimservermain" # define PEGASUS_PROCESS_NAME "cimservermain"
 #else #else
 # define PEGASUS_PROCESS_NAME "cimserver" # define PEGASUS_PROCESS_NAME "cimserver"
Line 665 
Line 666 
 { {
 #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION
  
       // Check for fingerprint (passed only by the executor).
   
       if (argc < 2 || strcmp(argv[1], EXECUTOR_FINGERPRINT) != 0)
       {
           cerr << argv[0];
           cerr << ": This is an internal Pegasus program; ";
           cerr << "please do not execute it directly. " << endl;
           exit(1);
       }
   
       // Remove argv[1] (the fingerprint).
   
       memcpy(argv + 1, argv + 2, sizeof(char*) * (argc - 1));
       argc--;
   
     // If invoked with "-x <socket>" option, then use executor client.     // If invoked with "-x <socket>" option, then use executor client.
   
     ExecutorClient::setExecutorSocket(_extractExecutorSocket(argc, argv));     ExecutorClient::setExecutorSocket(_extractExecutorSocket(argc, argv));
  
     // Ping executor to be sure the sock was valid.     // Ping executor to be sure the sock was valid.


Legend:
Removed from v.1.191.2.7  
changed lines
  Added in v.1.191.2.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2