Re: [Xen-devel] [PATCH v8.1 24/27] xsplice: Stacking build-id dependency checking.

2016-04-22 Thread Jan Beulich
>>> On 22.04.16 at 12:46, wrote: > On Wed, Apr 20, 2016 at 01:49:41AM -0600, Jan Beulich wrote: >> >>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>> >> >+.PHONY: hello_world_note.o >> >+hello_world_note.o: >> >+ $(OBJCOPY) -O binary --only-section=.note.gnu.build-id $(XSPLICE) $@.bin >> >+ $(OB

Re: [Xen-devel] [PATCH v8.1 24/27] xsplice: Stacking build-id dependency checking.

2016-04-22 Thread Konrad Rzeszutek Wilk
On Wed, Apr 20, 2016 at 01:49:41AM -0600, Jan Beulich wrote: > >>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>> > >+.PHONY: note.o > >+note.o: > >+$(OBJCOPY) -O binary --only-section=.note.gnu.build-id > >$(BASEDIR)/xen-syms $@.bin > >+$(OBJCOPY) -I binary -O elf64-x86-64 -B i386:x86-64 \

Re: [Xen-devel] [PATCH v8.1 24/27] xsplice: Stacking build-id dependency checking.

2016-04-20 Thread Jan Beulich
>>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>> >+.PHONY: note.o >+note.o: >+ $(OBJCOPY) -O binary --only-section=.note.gnu.build-id >$(BASEDIR)/xen-syms $@.bin >+ $(OBJCOPY) -I binary -O elf64-x86-64 -B i386:x86-64 \ >+ --rename-section=.data=.xsplice.depends -S $@.bin

[Xen-devel] [PATCH v8.1 24/27] xsplice: Stacking build-id dependency checking.

2016-04-13 Thread Konrad Rzeszutek Wilk
We now expect that the ELF payloads be built with the --build-id. Also the .xsplice.deps section has to have the contents of the hypervisor (or a preceding payload) build-id. We already have the code to verify the Elf_Note build-id so export parts of it. This dependency means the hypervisor MUST