Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 17:34:13 +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 trap.c src/sys/amd64/linux32 linux32_sysvec.c src/sys/compat/ia32 ia32_sysvec.c src/sys/i386/i386 elf_machdep.c trap.c src/sys/i386/linux linux_sysvec.c src/sys/kern imgact_elf.c ...
Message-ID:  <200908271745.n7RHj4OQ076691@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2009-08-27 17:34:13 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/amd64/amd64      elf_machdep.c trap.c 
    sys/amd64/linux32    linux32_sysvec.c 
    sys/compat/ia32      ia32_sysvec.c 
    sys/i386/i386        elf_machdep.c trap.c 
    sys/i386/linux       linux_sysvec.c 
    sys/kern             imgact_elf.c 
    sys/sys              imgact_elf.h 
  Log:
  SVN rev 196601 on 2009-08-27 17:34:13Z by bz
  
  MFC r196512:
  
    Fix handling of .note.ABI-tag section for GNU systems [1].
    Handle GNU/Linux according to LSB Core Specification 4.0,
    Chapter 11. Object Format, 11.8. ABI note tag.
  
    Also check the first word of desc, not only name, according to
    glibc abi-tags specification to distinguish between Linux and
    kFreeBSD.
  
    Add explicit handling for Debian GNU/kFreeBSD, which runs
    on our kernels as well [2].
  
    In {amd64,i386}/trap.c, when checking osrel of the current process,
    also check the ABI to not change the signal behaviour for Linux
    binary processes, now that we save an osrel version for all three
    from the lists above in struct proc [2].
  
    These changes make it possible to run FreeBSD, Debian GNU/kFreeBSD
    and Linux binaries on the same machine again for at least i386 and
    amd64, and no longer break kFreeBSD which was detected as GNU(/Linux).
  
  PR:             kern/135468
  Submitted by:   dchagin [1] (initial patch)
  Suggested by:   kib [2]
  Tested by:      Petr Salinger (Petr.Salinger seznam.cz) for kFreeBSD
  Reviewed by:    kib
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.30.2.2   +17 -0     src/sys/amd64/amd64/elf_machdep.c
  1.332.2.3  +3 -1      src/sys/amd64/amd64/trap.c
  1.52.2.2   +30 -5     src/sys/amd64/linux32/linux32_sysvec.c
  1.33.2.2   +15 -0     src/sys/compat/ia32/ia32_sysvec.c
  1.27.2.2   +16 -0     src/sys/i386/i386/elf_machdep.c
  1.320.2.3  +3 -1      src/sys/i386/i386/trap.c
  1.167.2.2  +30 -5     src/sys/i386/linux/linux_sysvec.c
  1.197.2.2  +54 -6     src/sys/kern/imgact_elf.c
  1.34.2.2   +5 -1      src/sys/sys/imgact_elf.h



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