Changeset 335
- Timestamp:
- 05/06/07 23:22:13 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm
r320 r335 243 243 # initialized integrity state of the VM -- ready to be checked 244 244 # against, at any time. 245 our $integrity = undef;245 #our $integrity = undef; 246 246 our $integrityState : shared = undef; 247 247 … … 371 371 # Perform initial integrity baseline check. 372 372 #my $integrity = undef; 373 if ($PERFORM_INTEGRITY_CHECKS) {374 $integrity = HoneyClient::Agent::Integrity->new();375 $integrity->closeFiles();376 $integrityState = freeze($integrity);377 }373 #if ($PERFORM_INTEGRITY_CHECKS) { 374 # $integrity = HoneyClient::Agent::Integrity->new(); 375 # $integrity->closeFiles(); 376 # $integrityState = freeze($integrity); 377 #} 378 378 # XXX: Check to make sure this doesn't destroy the integrity 379 379 # object prematurely. … … 733 733 # As such, do NOT try to call integrity checks on multiple, simultaneous 734 734 # asynchronous threaded drivers. 735 $integrity = thaw($integrityState);735 #$integrity = thaw($integrityState); 736 736 # Perform initial integrity baseline check. 737 737 #print "Initializing Integrity Check...\n"; 738 738 # TODO: Initialize Integrity Checks 739 #$integrity = HoneyClient::Agent::Integrity->new();739 $integrity = HoneyClient::Agent::Integrity->new(); 740 740 } 741 741 honeyclient/branches/exp/kindlund-filesystem/t/honeyclient_agent.t
r131 r335 43 43 44 44 # Make sure Storable loads. 45 BEGIN { use_ok('Storable', qw( nfreeze thaw)) or diag("Can't load Storable package. Check to make sure the package library is correctly listed within the path."); }45 BEGIN { use_ok('Storable', qw(freeze nfreeze thaw)) or diag("Can't load Storable package. Check to make sure the package library is correctly listed within the path."); } 46 46 require_ok('Storable'); 47 can_ok('Storable', 'freeze'); 47 48 can_ok('Storable', 'nfreeze'); 48 49 can_ok('Storable', 'thaw'); 49 use Storable qw( nfreeze thaw);50 use Storable qw(freeze nfreeze thaw); 50 51 51 52 # Make sure MIME::Base64 loads.
