Bug 410641

Summary: add full argument list .note section to corefile
Product: Red Hat Enterprise Linux 5 Reporter: Andrew Cagney <cagney>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: ebachalo, nhorman, pmuldoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-17 17:24:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 173278    

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.