Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-11 Thread Vivek Goyal
On Mon, Mar 11, 2013 at 09:31:41AM +0900, HATAYAMA Daisuke wrote: > From: Zhang Yanfei > Subject: Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly > Date: Sun, 10 Mar 2013 14:46:31 +0800 > > > 于 2013年03月05日 15:35, Zhang Yanfei 写道: > >> 于 2013年03月02日

Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-10 Thread HATAYAMA Daisuke
From: Zhang Yanfei Subject: Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly Date: Sun, 10 Mar 2013 14:46:31 +0800 > 于 2013年03月05日 15:35, Zhang Yanfei 写道: >> 于 2013年03月02日 16:35, HATAYAMA Daisuke 写道: > > One minor suggestion. > > Previously, when the

Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-09 Thread Zhang Yanfei
于 2013年03月05日 15:35, Zhang Yanfei 写道: > 于 2013年03月02日 16:35, HATAYAMA Daisuke 写道: >> Code around /proc/vmcore currently assumes program header table is >> next to ELF header. But future change can break the assumption on >> kexec-tools and the 1st kernel. To avoid worst case, now refer to >> e_phof

Re: [PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-04 Thread Zhang Yanfei
于 2013年03月02日 16:35, HATAYAMA Daisuke 写道: > Code around /proc/vmcore currently assumes program header table is > next to ELF header. But future change can break the assumption on > kexec-tools and the 1st kernel. To avoid worst case, now refer to > e_phoff member that indicates position of program

[PATCH v2 01/20] vmcore: refer to e_phoff member explicitly

2013-03-04 Thread HATAYAMA Daisuke
Code around /proc/vmcore currently assumes program header table is next to ELF header. But future change can break the assumption on kexec-tools and the 1st kernel. To avoid worst case, now refer to e_phoff member that indicates position of program header table in file-offset. Signed-off-by: HATAY