git: Kernel ELF: Restore legacy FreeBSD brand

John Marino marino at crater.dragonflybsd.org
Tue May 17 22:01:52 PDT 2011


commit cee191cabfed209fdad9972bd88be5b18e310361
Author: John Marino <draco at marino.st>
Date:   Wed May 18 01:10:13 2011 +0200

    Kernel ELF: Restore legacy FreeBSD brand
    
    During the rework of the kernel/ELF branding code, the FreeBSD brand
    was intentionally left off due to having an interpreter path of
    /usr/libexec/ld-elf.so.1, which is no longer built.
    
    However, some users have been building old DragonFly 1.x servers up
    which still have that old rtld running, and are still running FreeBSD
    branded binaries.  For the sake of legacy, the FreeBSD brand is being
    restored.

Summary of changes:
 sys/cpu/i386/misc/elf_machdep.c   |   16 ++++++++++++++++
 sys/cpu/x86_64/misc/elf_machdep.c |   16 ++++++++++++++++
 sys/kern/imgact_elf.c             |    9 +++++++++
 sys/sys/imgact_elf.h              |    1 +
 4 files changed, 42 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cee191cabfed209fdad9972bd88be5b18e310361


-- 
DragonFly BSD source repository





More information about the Commits mailing list