Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccpp: add %h and %e parameter into abrt-hook-ccpp
Without this commit core_pattern's parameter %h and %e was not translated at all. If there is a white space in executable filename, %e replaced only by the first part of executable name (till the space). Hence we decided to get executable name from /proc/PID/exe symlink exist. Example: If 'core_pattern = core.%h.%p.%t.%e' the result was core.%h.26284.1469805542.sleep not core.myshostmane.26284.1469805542.sleep with spaces Related to #1587891 Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
- Loading branch information
Matej Habrnal
committed
Jun 14, 2018
1 parent
c91d040
commit 94dc5d2
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters