Changeset 371

Show
Ignore:
Timestamp:
05/25/07 17:21:59 (1 year ago)
Author:
kindlund
Message:

Migrated Integrity code back into just a child thread.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm

    r369 r371  
    372372    # Perform initial integrity baseline check. 
    373373    my $integrity = undef; 
    374     if ($PERFORM_INTEGRITY_CHECKS) { 
    375         require HoneyClient::Agent::Integrity; 
    376         $integrity = HoneyClient::Agent::Integrity->new(); 
    377         $integrity->closeFiles(); 
    378         $integrityState = freeze($integrity); 
    379     } 
     374# XXX: Disabled temporarily. 
     375#    if ($PERFORM_INTEGRITY_CHECKS) { 
     376#        require HoneyClient::Agent::Integrity; 
     377#        $integrity = HoneyClient::Agent::Integrity->new(); 
     378#        $integrity->closeFiles(); 
     379#        $integrityState = freeze($integrity); 
     380#    } 
    380381    # XXX: Check to make sure this doesn't destroy the integrity 
    381382    # object prematurely. 
     
    811812            # As such, do NOT try to call integrity checks on multiple, simultaneous 
    812813            # asynchronous threaded drivers. 
    813             $integrity = thaw($integrityState); 
     814            #$integrity = thaw($integrityState); 
    814815            # Perform initial integrity baseline check. 
    815816            #print "Initializing Integrity Check...\n"; 
    816817            # TODO: Initialize Integrity Checks 
    817             #$integrity = HoneyClient::Agent::Integrity->new(); 
     818            $integrity = HoneyClient::Agent::Integrity->new(); 
    818819        } 
    819820