From owner-freebsd-stable Mon Jul 17 1:27:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id 4663237B6F9 for ; Mon, 17 Jul 2000 01:27:21 -0700 (PDT) (envelope-from carl@xena.IPAustralia.gov.au) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.3/8.9.3) id SAA67977 for ; Mon, 17 Jul 2000 18:27:18 +1000 (EST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from xena.aipo.gov.au(10.0.100.52) by pericles.IPAustralia.gov.au via smap (V2.0) id xma067971; Mon, 17 Jul 00 18:27:10 +1000 Received: from newton.aipo.gov.au (newton.aipo.gov.au [10.0.100.18]) by xena.aipo.gov.au (8.9.3/8.9.3) with ESMTP id SAA35696 for ; Mon, 17 Jul 2000 18:29:34 +1000 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: from localhost (carl@localhost) by newton.aipo.gov.au (8.9.3/8.9.3) with ESMTP id SAA54671 for ; Mon, 17 Jul 2000 18:27:08 +1000 (EST) (envelope-from carl@xena.ipaustralia.gov.au) X-Authentication-Warning: newton.aipo.gov.au: carl owned process doing -bs Date: Mon, 17 Jul 2000 18:27:08 +1000 (EST) From: Carl Makin X-Sender: carl@newton.aipo.gov.au To: stable@freebsd.org Subject: Removing Path prefixing for Linux binaries. (ie to run ADSM) 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 Hi, 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. 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? Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message