[makedumpfile PATCH] Wipe excluded pages that are written into ELF dump file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/31/2017 10:59 AM, Daniel Kiper wrote:
> On Mon, Jul 31, 2017 at 06:35:30AM -0700, Eric DeVolder wrote:
[...snip...]
>> diff --git a/makedumpfile.h b/makedumpfile.h
>> index 8a05794..9ccd06d 100644
>> --- a/makedumpfile.h
>> +++ b/makedumpfile.h
>> @@ -1266,6 +1266,7 @@ struct DumpInfo {
>>   	int		vmemmap_cnt;
>>   	struct ppc64_vmemmap	*vmemmap_list;
>>   	unsigned long	kaslr_offset;
>> +	unsigned long	fill_excluded_pages_value; /* fill value for excluded pages */
>>
>>   	/*
>>   	 * page table info for ppc64
>> @@ -2275,6 +2276,7 @@ struct elf_prstatus {
>>   #define OPT_WORKING_DIR         OPT_START+15
>>   #define OPT_NUM_THREADS	OPT_START+16
>>   #define OPT_PARTIAL_DMESG	OPT_START+17
>> +#define OPT_FILL_EXCLUDED_PAGES	OPT_START+18
> 
> Oh, no please fix alignment somehow here. Separate patch?
> And I think that just in case it should be:
> 
> #define OPT_FILL_EXCLUDED_PAGES      (OPT_START+18)
> 
> And probably this applies to others. Next patch?

I will fix formatting in a subsequent patch.
eric




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux