File: procpsv3.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 (19 lines) | stat: -rw-r--r-- 532 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## procpsv3.dpatch by Giuseppe Iuculano <giuseppe@iuculano.it>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Let chkproc default to procps version 3.

@DPATCH@
diff -urNad chkrootkit~/chkproc.c chkrootkit/chkproc.c
--- chkrootkit~/chkproc.c	2008-11-25 12:05:33.000000000 +0100
+++ chkrootkit/chkproc.c	2008-11-25 12:06:09.000000000 +0100
@@ -142,7 +142,7 @@
    psinfo_t psbuf;
 #endif
 
-   pv = verbose = 0; 
+   pv = 3; verbose = 0;
 
    if (!proc)
    {