Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2009 14:38:17 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 elf_machdep.c src/sys/compat/ia32 ia32_sysvec.c src/sys/i386/i386 elf_machdep.c src/sys/kern imgact_elf.c src/sys/sys imgact_elf.h
Message-ID:  <200908301439.n7UEd3dg005904@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-08-30 14:38:17 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      elf_machdep.c 
    sys/compat/ia32      ia32_sysvec.c 
    sys/i386/i386        elf_machdep.c 
    sys/kern             imgact_elf.c 
    sys/sys              imgact_elf.h 
  Log:
  SVN rev 196653 on 2009-08-30 14:38:17Z by bz
  
  Make sure FreeBSD binaries without .note.ABI-tag section work
  correctly and do not match a colliding Debian GNU/kFreeBSD
  brandinfo statements.
  For this mark the Debian GNU/kFreeBSD brandinfo that it must have
  an .note.ABI-tag section and ignore the old EI_OSABI brandinfo
  when comparing a possibly colliding set of options.
  
  Due to SYSINIT we add the brandinfo in a non-deterministic order,
  so native FreeBSD is not always first. We may want to consider
  to force native FreeBSD to come first as well.
  
  The only way a problem could currently be noticed is when running an
  i386 binary without the .note.ABI-tag on amd64 and the Debian GNU/kFreeBSD
  brandinfo  was matched first,  as the fallback to ld-elf32.so.1 does
  not exist in that case.
  
  Reported and tested by: ticso
  In collaboration with:  kib
  MFC after:              3 days
  
  Revision  Changes    Path
  1.32      +1 -1      src/sys/amd64/amd64/elf_machdep.c
  1.35      +1 -1      src/sys/compat/ia32/ia32_sysvec.c
  1.29      +1 -1      src/sys/i386/i386/elf_machdep.c
  1.199     +13 -5     src/sys/kern/imgact_elf.c
  1.36      +3 -2      src/sys/sys/imgact_elf.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908301439.n7UEd3dg005904>