Blame SOURCES/0163-ccpp-use-global-TID.patch

06486d
From 25ca1b05529d7ce95a3948f45391e22ab0fd9744 Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Wed, 12 Aug 2015 17:40:12 +0200
06486d
Subject: [PATCH] ccpp: use global TID
06486d
06486d
'%i' is TID of the thread from the crashed process's PID namespace but
06486d
abrt-hook-ccpp is run by kernel in the init PID namespace, so '%i'
06486d
is TID of a completely unrelated process.
06486d
06486d
For mode details see 'man 5 core'.
06486d
06486d
Related: rhbz#1252590
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/hooks/abrt-install-ccpp-hook.in | 4 ++--
06486d
 1 file changed, 2 insertions(+), 2 deletions(-)
06486d
06486d
diff --git a/src/hooks/abrt-install-ccpp-hook.in b/src/hooks/abrt-install-ccpp-hook.in
06486d
index fff0a33..65f771f 100755
06486d
--- a/src/hooks/abrt-install-ccpp-hook.in
06486d
+++ b/src/hooks/abrt-install-ccpp-hook.in
06486d
@@ -11,9 +11,9 @@ SAVED_PATTERN_DIR="@VAR_RUN@/abrt"
06486d
 SAVED_PATTERN_FILE="@VAR_RUN@/abrt/saved_core_pattern"
06486d
 HOOK_BIN="@libexecdir@/abrt-hook-ccpp"
06486d
 # Must match percent_specifiers[] order in abrt-hook-ccpp.c:
06486d
-PATTERN="|$HOOK_BIN %s %c %p %u %g %t %e %i"
06486d
+PATTERN="|$HOOK_BIN %s %c %p %u %g %t %e %I"
06486d
 # Same, but with bogus "executable name" parameter
06486d
-PATTERN1="|$HOOK_BIN %s %c %p %u %g %t e %i"
06486d
+PATTERN1="|$HOOK_BIN %s %c %p %u %g %t e %I"
06486d
 
06486d
 # core_pipe_limit specifies how many dump_helpers can run at the same time
06486d
 # 0 - means unlimited, but it's not guaranteed that /proc/<pid> of crashing
06486d
-- 
06486d
2.4.3
06486d