From owner-freebsd-stable Mon Jul 17 10: 8:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id C90D137BAA4 for ; Mon, 17 Jul 2000 10:08:41 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id e6HH8Sb72634; Mon, 17 Jul 2000 10:08:28 -0700 (PDT) Date: Mon, 17 Jul 2000 10:08:27 -0700 (PDT) From: Doug White To: Carl Makin Cc: stable@FreeBSD.ORG Subject: Re: Removing Path prefixing for Linux binaries. (ie to run ADSM) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 17 Jul 2000, Carl Makin wrote: > I've been trying to work out a clean way to label linux binaries that I > don't want the path prepending done to. This prepending makes the linux > ADSM client unusable (for example). > > I know someone has gone so far as removing the whole /compat/linux path > from the linux emulator (ABI interface), and while that doesn't look hard > I've been trying to think of a better way. That was me. I still have those patches floating around somewhere, or at minumum they should be in the PR database. > The only thing I can think of so far is to use brandelf to either brand it > with a different type (say linuxnp) that has the path removed, (Can I just > put that extra type in linux_sysvec.c?) or add some other header > information. > > Does anyone have any better ideas or is interested in working on this? -emulation batted this around for a while but I never saw anything come of that discussion. It ends up behing hackish or hackish to flag individual binaries for special treatment. The -emulation group really wanted to set separate translations paths on a binary-by-binary basis, I think. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message