Date: Mon, 17 Jul 2000 10:08:27 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Carl Makin <carl@xena.IPAustralia.gov.au> Cc: stable@FreeBSD.ORG Subject: Re: Removing Path prefixing for Linux binaries. (ie to run ADSM) Message-ID: <Pine.BSF.4.21.0007171006280.1008-100000@resnet.uoregon.edu> In-Reply-To: <Pine.BSF.4.21.0007171809420.381-100000@newton.aipo.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007171006280.1008-100000>