From owner-freebsd-hackers Thu Oct 24 10:03:29 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05540 for hackers-outgoing; Thu, 24 Oct 1996 10:03:29 -0700 (PDT) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA05534; Thu, 24 Oct 1996 10:03:23 -0700 (PDT) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id MAA23724; Thu, 24 Oct 1996 12:02:32 -0500 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma023685; Thu Oct 24 12:02:04 1996 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id MAA25331; Thu, 24 Oct 1996 12:02:05 -0500 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.7.6/8.6.12) with ESMTP id MAA10516; Thu, 24 Oct 1996 12:02:05 -0500 (CDT) Message-Id: <199610241702.MAA10516@jake.lodgenet.com> X-Mailer: exmh version 1.6.9 8/22/96 To: sos@freebsd.org cc: hackers@freebsd.org Subject: Branded ELF's Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 Oct 1996 12:02:05 -0500 From: "Eric L. Hernes" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Howdy Soren, Are branded (Linux) elfs working, or is there a bit more work to be done? I'm trying to get ldconfig to work from various linux distributions, without much luck. I just get: (ttyp1@jake)$ brandelf * File 'ldconfig' is of brand 'Linux'. File 'ldconfig-virgin' has no branding. (ttyp1@jake)$ ./ldconfig ELF PT_LOAD section .text <08000000,00014000> entry=08000090 ELF PT_LOAD section bss size 6324 (18b4) .data <08014000,00002000> ELF binary type not known Abort trap (ttyp1@jake)$ ./ldconfig-virgin ELF PT_LOAD section .text <08000000,00014000> entry=08000090 ELF PT_LOAD section bss size 6324 (18b4) .data <08014000,00002000> ELF binary type not known Abort trap After just a quick glance at imgact_elf.c, it looks like there may be a missing `else if (!strcmp(brand, elf_brand_list[i]->brand)) { } ' clause. Or do I have old code? eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com