Include command line arguments in core dump process info.
Fill in pr_psargs in the NT_PRSINFO ELF core dump note with command
line arguments.
Paths
| Differential D7116 Authored by jhb on Jul 5 2016, 7:37 PM.
Details
Summary Include command line arguments in core dump process info. Fill in pr_psargs in the NT_PRSINFO ELF core dump note with command Test Plan
Diff Detail
Event Timelinejhb updated this object. Herald added a subscriber: imp. · View Herald TranscriptJul 5 2016, 7:37 PM2016-07-05 19:37:10 (UTC+0)
Comment Actions
This revision is now accepted and ready to land.Jul 9 2016, 3:20 PM2016-07-09 15:20:31 (UTC+0) Closed by commit rS302859: Include command line arguments in core dump process info. (authored by jhb). · Explain WhyJul 14 2016, 11:20 PM2016-07-14 23:20:22 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 18158 sys/kern/imgact_elf.c
usr.bin/gcore/elfcore.c
|
If this is the only use, I would actually prefer to kill 'data' entirely to avoid someone trying to use additional bytes and instead do something like:
Also, I wonder if we should prefer fuebyte() in new code instead? (Maybe kib@ has an opinion on that)