Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 04:26:41 -0800
From:      "David O'Brien" <TrimYourCc@NUXI.com>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        arch@FreeBSD.org
Subject:   Re: sysctl kern.fallback_elf_brand
Message-ID:  <20010223042641.B2539@dragon.nuxi.com>
In-Reply-To: <3A960EF8.75C3FC53@cup.hp.com>; from marcel@cup.hp.com on Thu, Feb 22, 2001 at 11:19:20PM -0800
References:  <3A960EF8.75C3FC53@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 22, 2001 at 11:19:20PM -0800, Marcel Moolenaar wrote:
> One problem with this is that unbranded static Linux binaries are
> executed as FreeBSD native binaries and there's a high chance of them
> rebooting the machine if run as root.

I've never seen that.  Everyone I've every tried just dumped core.  Have
you really seen running one reboot the machine?

> I think we need to disable the fallback ELF branding when no ABI
> compatibility module is loaded.

That would be OK to me.
> Of course, we can also set the default to 3 (=Linux) under the
> assumption that the Linuxulator is the most frequently used ABI module.

This would not be.
 
> Thoughts?

The real fix is to teach the ELF image loader to read the .note.ABI-tag
section.  Then statically linked Linux binaries would be correctly
identified [since our branding scheme isn't accepted by anyone other than
us].

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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