From owner-freebsd-current Tue Oct 1 14:52:52 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA00148 for current-outgoing; Tue, 1 Oct 1996 14:52:52 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA00127 for ; Tue, 1 Oct 1996 14:52:45 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA02594; Tue, 1 Oct 1996 14:51:34 -0700 From: Terry Lambert Message-Id: <199610012151.OAA02594@phaeton.artisoft.com> Subject: Re: WARNING: botched ld.so commit! :-( To: jdp@polstra.com (John Polstra) Date: Tue, 1 Oct 1996 14:51:34 -0700 (MST) Cc: current@FreeBSD.ORG In-Reply-To: <199610011615.JAA03350@austin.polstra.com> from "John Polstra" at Oct 1, 96 09:15:40 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Even I don't touch rtld :-). Scary thought if I worked on it :-). > > Just to reinforce that sentiment, I worked on rtld for a while, and it's > nerve-wracking! It's like trying to replace a rope that you and the > rest of the world are hanging from. (By the neck, if you screw up.) > > I think we all know Peter well enough to forego giving him too much > flack over this. (Same goes for John Dyson and the occasional > hiccups that come with the great things he's doing for us.) For what it's worth: a correct ELF implemented is expected to have the kernel execution class loader map the ld.so into the process address space instead of relying on the crt0.o to do it for you. That's the reason for the "large enough" offset at the start of the SVR4 EABI specification prior to the image mapping location. Going to something like this would allow the kernel to automatically establish correct versioning, and you could overrride using userconfig in case you *really* screwed up. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.