From 86d7447c394c14dc1e46346b8cac5545e0817615 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 22 Jan 2010 16:59:41 +0100 Subject: test commit to rhel6 Signed-off-by: Denys Vlasenko --- doc/IMPLEMENTATION | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/IMPLEMENTATION b/doc/IMPLEMENTATION index ae8ef71c..62ad5786 100644 --- a/doc/IMPLEMENTATION +++ b/doc/IMPLEMENTATION @@ -3,7 +3,7 @@ Implementation: C/C++ handling: ============== -we change /proc/sys/kernel/core_pattern to invoke abrtd helper to save +we change /proc/sys/kernel/core_pattern to invoke abrtd helper to save the coredump of crashing app: * helper source code: http://git.fedorahosted.org/git/abrt.git?p=abrt.git;a=blob_plain;f=src/Hooks/abrt-hook-python.cpp the code responsible for this: @@ -16,7 +16,7 @@ the code responsible for this: fOutCorePattern << CORE_PATTERN << endl; fOutCorePattern.close(); } - + %p - pid %s - signal %u - uid @@ -24,7 +24,7 @@ the code responsible for this: when some crash occurs abrt-hook-ccpp is invoked to store the coredump and some other info read from /proc//: -executable: +executable: char buf[sizeof("/proc/%u/exe") + sizeof(int)*3]; sprintf(buf, "/proc/%u/exe", (int)pid); readlink(buf); @@ -32,7 +32,7 @@ executable: cmdline: char path[sizeof("/proc/%u/cmdline") + sizeof(int)*3]; sprintf(path, "/proc/%u/cmdline", (int)pid); - + both is saved to file in /var/cache/abrt/ccpp-