Red Hat Bugzilla – Bug 410661
add environment .note section to corefile
Last modified: 2009-04-17 07:02:51 EDT
The environment passed into the core file is not available (in theory one could
groak it via the .auxv note section and memory but in reality it is corrupted).
This makes actions such as correctly restarting a corefile impossible.
Suggest writing out the environement (environ) to a separate .note section.
with 5.3 you can use proc/sys/kernel/core_pattern to interrogate /proc/<pid>/environ to grab a crashing processes environment
(In reply to comment #1)
> with 5.3 you can use proc/sys/kernel/core_pattern to interrogate
> /proc/<pid>/environ to grab a crashing processes environment
This sounds like a potential way for us to implement a prototype core-file generator that includes the environ in the core proper? We'll then still need to get it integrated into the kernel proper.
Not sure whats left to be done here. The requestors account has been closed, and I think that the functionality that is required is implemented in 5.3 via the core_patter facility. Does anyone with an interest in this bug have any more input here, or shall we close this as NEXTRELEASE?
closing, no response