Changeset 287 for trunk/src/kern_head.c


Ignore:
Timestamp:
Jun 7, 2010, 8:13:14 PM (14 years ago)
Author:
katerina
Message:

Minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kern_head.c

    r286 r287  
    111111        fprintf(stderr, "kmem_mmap: mmap() failed, now trying read()\n");
    112112
    113       if (0 == sh_kern_kmem_read (fd, addr, buf, len))
     113      if (0 == kmem_read (fd, addr, buf, len))
    114114        return 0;
    115115
     
    149149          fprintf(stderr, "\n");
    150150     
    151           fprintf(stderr, "NOTE:  kern_head: apparently you have no /dev/kmem, and the samhain_kmem module is not loaded\n");
    152           fprintf(stderr, "       If you get this message, then proceed as follows:\n");
     151          fprintf(stderr, "NOTE:  kern_head: apparently you have no /dev/kmem, and the\n");
     152          fprintf(stderr, "       samhain_kmem module is not loaded\n");
     153          fprintf(stderr, "       If you get this message, please proceed as follows:\n");
    153154          fprintf(stderr, "       $ make samhain_kmem.ko\n");
    154           fprintf(stderr, "       $ sudo insmod samhain_kmem.ko; sudo ./kern_head > sh_ks.h; sudo rmmod samhain_kmem\n");
     155          fprintf(stderr, "       $ sudo /sbin/insmod samhain_kmem.ko; sudo ./kern_head > sh_ks.h; sudo /sbin/rmmod samhain_kmem\n");
    155156          fprintf(stderr, "       $ make\n\n");
    156157          exit (EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.