Re: [PATCH v2 05/20] vmcore: round up buffer size of ELF headers by PAGE_SIZE

2013-03-06 Thread Yanfei Zhang
2013/3/2 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 ~~~ ELF header? or ELF program headers? > note segments and it's assigned in unique PT_NOTE program head

[PATCH v2 05/20] vmcore: round up buffer size of ELF headers by PAGE_SIZE

2013-03-04 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-