From owner-freebsd-arch Fri Feb 23 16:31:35 2001 Delivered-To: freebsd-arch@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 90B8B37B4EC for ; Fri, 23 Feb 2001 16:31:32 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1O0VRW84469 for ; Fri, 23 Feb 2001 17:31:32 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102240031.f1O0VRW84469@harmony.village.org> To: arch@FreeBSD.ORG Subject: Re: sysctl kern.fallback_elf_brand In-reply-to: Your message of "Fri, 23 Feb 2001 16:23:42 PST." <20010223162342.E72750@dragon.nuxi.com> References: <20010223162342.E72750@dragon.nuxi.com> <20010223121449.B68586@dragon.nuxi.com> <20010223043149.C2539@dragon.nuxi.com> <20010222233800.A1394@mollari.cthul.hu> <3A960EF8.75C3FC53@cup.hp.com> <20010222233800.A1394@mollari.cthul.hu> <200102230812.f1N8CVW79145@harmony.village.org> <20010223043149.C2539@dragon.nuxi.com> <200102231720.f1NHKXN00386@billy-club.village.org> <20010223121449.B68586@dragon.nuxi.com> <200102232026.f1NKQaW82988@harmony.village.org> Date: Fri, 23 Feb 2001 17:31:27 -0700 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010223162342.E72750@dragon.nuxi.com> "David O'Brien" writes: : > Translated into a useful answer: : > The old brand byte of 0 won't cause problems because the old : > branding is different than the linux binaries causing : > problems. : : I can't even understand that translation. OK, the following is better: "The old way of branding the binaries write FreeBSD into an unused part of the header and set e_ident to 0. 4.0 did this. However, that won't cause problems because the problementic Linux binaries have e_ident set to 0, but no FreeBSD in that unused part of the header. This menas that it is safe to MFC." : The difference you noted was that old 4.0 binaries did not set the : e_ident ELF header field to anything. If I removed (1) above as I : should, you would also have seen that difference of course. Right. I was confused. It happens sometimes. I litterally had found the difference earlier in the day and jumped to the wrong conclusion. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message