On Fri, May 06, 2016 at 01:48:08PM +0100, Ross Lagerwall wrote: > On 05/03/2016 11:55 AM, Roger Pau Monne wrote: > >The calling convention used by the FreeBSD ELF OSABI is exactly the same as > >the the one defined by System V, so payloads with a FreeBSD OSABI should be > >accepted by the xsplice machinery. > > > >Signed-off-by: Roger Pau Monné <roger....@citrix.com> > >--- > >Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > >Cc: Ross Lagerwall <ross.lagerw...@citrix.com> > >--- > > xen/common/xsplice_elf.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > >diff --git a/xen/common/xsplice_elf.c b/xen/common/xsplice_elf.c > >index 1e1f167..918a1bf 100644 > >--- a/xen/common/xsplice_elf.c > >+++ b/xen/common/xsplice_elf.c > >@@ -397,7 +397,8 @@ static int xsplice_header_check(const struct xsplice_elf > >*elf) > > if ( hdr->e_version != EV_CURRENT || > > hdr->e_ident[EI_VERSION] != EV_CURRENT || > > hdr->e_ident[EI_ABIVERSION] != 0 || > >- hdr->e_ident[EI_OSABI] != ELFOSABI_NONE || > >+ (hdr->e_ident[EI_OSABI] != ELFOSABI_NONE && > >+ hdr->e_ident[EI_OSABI] != ELFOSABI_FREEBSD) || > > hdr->e_type != ET_REL || > > hdr->e_phnum != 0 ) > > { > > > > Acked-by: Ross Lagerwall <ross.lagerw...@citrix.com> Applied with the change log change and an extra space.
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel