|
|
baab13 |
From f9b0c9a296453cd817cc5d9a2e54ec6b4e123967 Mon Sep 17 00:00:00 2001
|
|
|
baab13 |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
baab13 |
Date: Tue, 25 Feb 2014 17:53:42 +0100
|
|
|
baab13 |
Subject: [ABRT PATCH 39/40] ccpp: run vulnerability analysis in
|
|
|
baab13 |
analyze_LocalGDB
|
|
|
baab13 |
|
|
|
baab13 |
The vulnerability analysis has been moved from 'post-create' to
|
|
|
baab13 |
'analyze_LocalGDB' because gdb should not be run for random coredump
|
|
|
baab13 |
under root user.
|
|
|
baab13 |
|
|
|
baab13 |
Closes rhbz#1069719
|
|
|
baab13 |
|
|
|
baab13 |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
|
baab13 |
---
|
|
|
baab13 |
src/plugins/ccpp_event.conf | 5 +++--
|
|
|
baab13 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
baab13 |
|
|
|
baab13 |
diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf
|
|
|
baab13 |
index ccc9e83..62ff08a 100644
|
|
|
baab13 |
--- a/src/plugins/ccpp_event.conf
|
|
|
baab13 |
+++ b/src/plugins/ccpp_event.conf
|
|
|
baab13 |
@@ -19,8 +19,6 @@ EVENT=post-create analyzer=CCpp
|
|
|
baab13 |
##satyr migration:
|
|
|
baab13 |
#satyr abrt-create-core-stacktrace "$DUMP_DIR"
|
|
|
baab13 |
abrt-action-generate-core-backtrace
|
|
|
baab13 |
- # Run GDB plugin to see if crash looks exploitable
|
|
|
baab13 |
- abrt-action-analyze-vulnerability
|
|
|
baab13 |
# Generate hash
|
|
|
baab13 |
abrt-action-analyze-c &&
|
|
|
baab13 |
abrt-action-list-dsos -m maps -o dso_list &&
|
|
|
baab13 |
@@ -70,6 +68,9 @@ EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.*
|
|
|
baab13 |
# TODO: can we still specify additional directories to search for debuginfos,
|
|
|
baab13 |
# or was this ability lost with move to python installer?
|
|
|
baab13 |
EVENT=analyze_LocalGDB analyzer=CCpp
|
|
|
baab13 |
+ # Run GDB plugin to see if crash looks exploitable
|
|
|
baab13 |
+ abrt-action-analyze-vulnerability
|
|
|
baab13 |
+ # Run GDB to genereate backtrace
|
|
|
baab13 |
abrt-action-analyze-ccpp-local --without-bodhi
|
|
|
baab13 |
|
|
|
baab13 |
|
|
|
baab13 |
--
|
|
|
baab13 |
1.8.3.1
|
|
|
baab13 |
|