cvs commit: src/sys/kern imgact_elf.c src/sys/sys imgact_elf.h src/sys/emulation/linux/i386 linux_sysvec.c src/sys/emulation/svr4 svr4_sysvec.c

Joerg Sonnenberger joerg at
Tue May 31 10:46:59 PDT 2005

joerg       2005/05/31 10:45:20 PDT

DragonFly src repository

  Modified files:
    sys/kern             imgact_elf.c 
    sys/sys              imgact_elf.h 
    sys/emulation/linux/i386 linux_sysvec.c 
    sys/emulation/svr4   svr4_sysvec.c 
  Don't match executables with ELFOSABI_NONE against the brand list.
  For binaries without matching brand, try to match PT_NOTE header
  of type 1 (which is equal to .note.ABI-tag as section).
  Implement matching for FreeBSD, the up-coming DragonFly and Linux
  ABI tag.
  This implementation has some known limitations:
  - only one PT_NOTE header of type 1 is checked (the last)
  - the PT_NOTE header has to be part of the first page
  - ELF branding is prefered, no further matching is done (prevents multiple
    ABI emulations for the same ELF OS ABI)
  Inspired-by: NetBSD
  Revision  Changes    Path
  1.27      +76 -4     src/sys/kern/imgact_elf.c
  1.6       +2 -0      src/sys/sys/imgact_elf.h
  1.17      +24 -0     src/sys/emulation/linux/i386/linux_sysvec.c
  1.12      +1 -0      src/sys/emulation/svr4/svr4_sysvec.c

More information about the Commits mailing list