From owner-freebsd-current Sun Dec 14 15:26:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA20970 for current-outgoing; Sun, 14 Dec 1997 15:26:20 -0800 (PST) (envelope-from owner-freebsd-current) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA20950 for ; Sun, 14 Dec 1997 15:26:13 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.7) with ESMTP id PAA00410; Sun, 14 Dec 1997 15:24:01 -0800 (PST) (envelope-from jdp) Message-Id: <199712142324.PAA00410@austin.polstra.com> To: phk@critter.freebsd.dk Subject: Re: problems with gzip'd executables In-Reply-To: <13250.882133705@critter.freebsd.dk> References: <13250.882133705@critter.freebsd.dk> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Date: Sun, 14 Dec 1997 15:24:01 -0800 From: John Polstra Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <13250.882133705@critter.freebsd.dk>, Poul-Henning Kamp wrote: > In message <199712141959.LAA20309@austin.polstra.com>, John Polstra writes: > > >Meanwhile, it turns out that the gzipped executable problem was > >really a bug in imgact_gzip.c. So I committed a fix for that. > > Actually it was done deliberately that way under the assumption that > nobody would ever want to touch the a.out header of a running > program :-) Hey, great idea! Sorry I had to break that clever feature. ;-) Seriously, though, it is indeed a gross hack for ld.so to peek at the a.out header in memory. (I am beaming with pride ...) I'm going to back it out again when I get time to commit the emacs port patch, in a week or two. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth