File: disable_enye.dpatch

package info (click to toggle)
chkrootkit 0.48-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 448 kB
  • ctags: 221
  • sloc: sh: 3,174; ansic: 1,474; makefile: 88
file content (22 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh /usr/share/dpatch/dpatch-run
## disable_enye.dpatch by Francois Marier <francois@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: disabling this check which was killing random processes (#457828)

@DPATCH@
--- chkrootkit-0.48.orig/chkproc.c
+++ chkrootkit-0.48/chkproc.c
@@ -354,12 +354,6 @@
       printf("SIGINVISIBLE Adore found\n");
       retdir+= errno;
    }
-   /* Check for Enye LKM */
-   if (kill (12345, 58) >= 0)
-   {
-      printf("Enye LKM found\n");
-      retdir+= errno;
-   }
 #endif
    return (retdir+retps);
 }