Changeset 346


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

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

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r341 r346  
    21422142
    21432143                           AC_MSG_CHECKING([for vmlist])
    2144                            sh_vmlist_lock=`egrep ['[bdBD] vmlist$'] ${systemmap} | awk '{print $1}'`
     2144                           sh_vmlist=`egrep ['[bdBD] vmlist$'] ${systemmap} | awk '{print $1}'`
    21452145                           if test x"$sh_vmlist" = x; then
    21462146                               AC_MSG_RESULT(no)
  • 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.