Bug 410641 - add full argument list .note section to corefile
Summary: add full argument list .note section to corefile
Keywords:
Status: CLOSED DUPLICATE of bug 410871
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks: 173278
TreeView+ depends on / blocked
 
Reported: 2007-12-04 16:44 UTC by Andrew Cagney
Modified: 2008-11-17 17:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-17 17:24:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Cagney 2007-12-04 16:44:27 UTC
The argument list contained in the corefile is truncated to ~80 characters (and
isn't even correctly separated).  This makes identifying a correct core file's
arguments (and re-starting the executable) impossible.

Suggest writing out the full original argument list to a separate .note section.

Comment 1 Neil Horman 2008-08-05 16:30:20 UTC
with 5.3 you should be able to use proc/sys/kernel/core_pattern to interrogate /proc/<pid>cmdline for a processes command line arguments.


Note You need to log in before you can comment on or make changes to this bug.