Re: [PATCH v3 06/21] vmcore: round up buffer size of ELF headers by PAGE_SIZE

2013-03-19 Thread Eric W. Biederman
HATAYAMA Daisuke writes: > To satisfy mmap() page-size boundary requirement, round up buffer size > of ELF headers by PAGE_SIZE. The resulting value becomes offset of ELF > note segments and it's assigned in unique PT_NOTE program header > entry. Ok. That is just silly. You can use a single buf

[PATCH v3 06/21] vmcore: round up buffer size of ELF headers by PAGE_SIZE

2013-03-18 Thread HATAYAMA Daisuke
To satisfy mmap() page-size boundary requirement, round up buffer size of ELF headers by PAGE_SIZE. The resulting value becomes offset of ELF note segments and it's assigned in unique PT_NOTE program header entry. Also, some part that assumes past ELF headers' size is replaced by this new rounded-