summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics/openscap/files/test_probes_process.patch')
-rw-r--r--app-forensics/openscap/files/test_probes_process.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-forensics/openscap/files/test_probes_process.patch b/app-forensics/openscap/files/test_probes_process.patch
new file mode 100644
index 000000000000..98ac75857d46
--- /dev/null
+++ b/app-forensics/openscap/files/test_probes_process.patch
@@ -0,0 +1,10 @@
+--- tests/probes/process/test_probes_process.xml.sh.orig 2012-04-05 15:49:38.746901398 +0200
++++ tests/probes/process/test_probes_process.xml.sh 2012-04-05 15:50:02.330775903 +0200
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env bash
+
+-TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | awk '$1 != 2 && $2 != 2 {print $3}' | \
++TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -v '\[' | awk '$1 != 2 && $2 != 2 {print $3}' | \
+ sed -n '2,30p'`)
+
+ COUNTER=1