[CRIU] [PATCH 0/3] crit core-dump feature

Ruslan Kuprieiev kupruser at gmail.com
Mon Apr 27 12:33:08 PDT 2015



On 27.04.15 22:09, Cyrill Gorcunov wrote:
> On Mon, Apr 27, 2015 at 10:04:11PM +0300, Ruslan Kuprieiev wrote:
>> Hi Cyrill,
>>
>> Yes, I am aware of kernel not limiting cmdline length to 80 symbols, but
>> since this data is only needed by a core dump, I've decided that
>> there is no reason to bring more than we need, especially considering
>> that extending to a full cmdline length could be accomplished with an
>> ease if there will be a request for it.
>>
>> Should we bring full cmdline contents anyway?
> Wait a minute. Pavel reminded me that we're dumping page contents
> and arguments are sitting in mm struct, maybe we could fetch the
> args from page images instead?

Oh, you are absolutely right -- mm_arg_* and mm_env_* look like just 
what we need.
And how could I miss that?

Please, drop this set, I'll send a new one soon.

Thanks


More information about the CRIU mailing list