Changeset 287
- Timestamp:
- Jun 7, 2010, 8:13:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kern_head.c
r286 r287 111 111 fprintf(stderr, "kmem_mmap: mmap() failed, now trying read()\n"); 112 112 113 if (0 == sh_kern_kmem_read (fd, addr, buf, len))113 if (0 == kmem_read (fd, addr, buf, len)) 114 114 return 0; 115 115 … … 149 149 fprintf(stderr, "\n"); 150 150 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"); 153 154 fprintf(stderr, " $ make samhain_kmem.ko\n"); 154 fprintf(stderr, " $ sudo insmod samhain_kmem.ko; sudo ./kern_head > sh_ks.h; sudormmod samhain_kmem\n");155 fprintf(stderr, " $ sudo /sbin/insmod samhain_kmem.ko; sudo ./kern_head > sh_ks.h; sudo /sbin/rmmod samhain_kmem\n"); 155 156 fprintf(stderr, " $ make\n\n"); 156 157 exit (EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.