(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.12 and 1.191.2.13

version 1.191.2.12, 2007/01/04 04:57:24 version 1.191.2.13, 2007/01/10 02:47:21
Line 665 
Line 665 
 { {
 #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION
  
     // Check for fingerprint (passed only by the executor).      // If invoked with "-x <socket>" option, then use executor.
  
     if (argc < 2 || strcmp(argv[1], EXECUTOR_FINGERPRINT) != 0)  
     {     {
         cerr << argv[0];          int sock = _extractExecutorSockOpt(argc, argv);
         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 (sock != -1)
               Executor::setSock(sock);
       }
  
     Executor::setSock(_extractExecutorSockOpt(argc, argv));  #endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */
  
     // Ping executor to be sure the sock was valid.     // Ping executor to be sure the sock was valid.
  
Line 694 
Line 686 
         exit(1);         exit(1);
     }     }
  
 #endif  
   
     String pegasusHome  = String::EMPTY;     String pegasusHome  = String::EMPTY;
     Boolean shutdownOption = false;     Boolean shutdownOption = false;
     Boolean debugOutputOption = false;     Boolean debugOutputOption = false;


Legend:
Removed from v.1.191.2.12  
changed lines
  Added in v.1.191.2.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2