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

Diff for /pegasus/src/Service/ServerProcessUnix.cpp between version 1.11 and 1.11.16.1

version 1.11, 2006/08/09 21:13:11 version 1.11.16.1, 2006/12/27 00:21:54
Line 56 
Line 56 
 } }
 #endif #endif
  
   #ifdef PEGASUS_ENABLE_PRIVILEGE_SEPARATION
   # include <ExecutorClient/ExecutorClient.h>
   #endif
   
 PEGASUS_USING_PEGASUS; PEGASUS_USING_PEGASUS;
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
Line 154 
Line 158 
       exit(graveError);       exit(graveError);
   }   }
  
   
   setsid();   setsid();
   umask(S_IRWXG | S_IRWXO );   umask(S_IRWXG | S_IRWXO );
  
Line 163 
Line 168 
  
   // 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.
   
       ExecutorClient::daemonizeExecutor();
   
   #endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */
   
   return(0);   return(0);
 } }
  


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.11.16.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2