Logo Search packages:      
Sourcecode: condor version File versions  Download package

priv_state DaemonCore::Register_Priv_State ( priv_state  priv  ) 

Register the Priv state this Daemon wants to be in, every time DaemonCore is returned to the Handler DaemonCore will check to see that this is the current priv state.

priv_state The new priv state you want to be in. DaemonCore initializes this to be CONDOR_PRIV.
The priv state you were in before.

Definition at line 9017 of file daemon_core.cpp.

Referenced by BaseShadow::baseInit().

      priv_state old_priv = Default_Priv_State;
      Default_Priv_State = priv;
      return old_priv;

Generated by  Doxygen 1.6.0   Back to index