Changeset 346 for trunk/src


Ignore:
Timestamp:
Jun 1, 2011, 7:04:52 PM (13 years ago)
Author:
katerina
Message:

Fixes for ticket #254: kernel check not working on Ubuntu 8.04 x86_64

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kern_head.c

    r287 r346  
    143143  if (fd < 0)
    144144    {
     145      if (verbose)
     146        fprintf(stderr, "read_kcode: /dev/kmem failed, now trying /proc/kmem\n");
     147
    145148      if (0 != access("/proc/kmem", R_OK))
    146149        {
  • trunk/src/samhain_kmem.c

    r286 r346  
    323323static rwlock_t * sh_vmlist_lock_ptr = (rwlock_t *) SH_VMLIST_LOCK;
    324324
    325 static struct vm_struct * sh_vmlist   = (struct vm_struct *) SH_VMLIST_LOCK;
     325static struct vm_struct * sh_vmlist   = (struct vm_struct *) SH_VMLIST;
    326326/*
    327327 *
Note: See TracChangeset for help on using the changeset viewer.