Re: [Xen-devel] [PATCH v6] libelf: rewrite symtab/strtab loading

2016-04-01 Thread Ian Jackson
Roger Pau Monne writes ("[PATCH v6] libelf: rewrite symtab/strtab loading"): > Current implementation of elf_load_bsdsyms is broken when loading inside of > a HVM guest, because it assumes elf_memcpy_safe is able to write into guest > memory space, which it is not. > > Take the oportunity to do so

Re: [Xen-devel] [PATCH v6] libelf: rewrite symtab/strtab loading

2016-04-01 Thread Jan Beulich
>>> On 31.03.16 at 18:00, wrote: > Current implementation of elf_load_bsdsyms is broken when loading inside of > a HVM guest, because it assumes elf_memcpy_safe is able to write into guest > memory space, which it is not. > > Take the oportunity to do some cleanup and properly document how > elf_

[Xen-devel] [PATCH v6] libelf: rewrite symtab/strtab loading

2016-03-31 Thread Roger Pau Monne
Current implementation of elf_load_bsdsyms is broken when loading inside of a HVM guest, because it assumes elf_memcpy_safe is able to write into guest memory space, which it is not. Take the oportunity to do some cleanup and properly document how elf_{parse/load}_bsdsyms works. The new implementa