From owner-freebsd-hackers Wed Jul 1 09:01:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03254 for freebsd-hackers-outgoing; Wed, 1 Jul 1998 09:01:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA03247 for ; Wed, 1 Jul 1998 09:01:22 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id JAA04116; Wed, 1 Jul 1998 09:01:03 -0700 (PDT) (envelope-from jdp) Message-Id: <199807011601.JAA04116@austin.polstra.com> To: ambrisko@whistle.com Subject: Re: Problem with ld.so + LD_PRELOAD + _init() In-Reply-To: <199806182244.PAA25002@whistle.com> References: <199806182244.PAA25002@whistle.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Date: Wed, 01 Jul 1998 09:01:03 -0700 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199806182244.PAA25002@whistle.com>, Doug Ambrisko wrote: > Mikko Työläjärvi writes: > | Fiddling around with LD_PRELOAD and wrapping of system calls, I > | discovered that the "_init()" function of the preloaded lib never gets > | called. ... > Nope wasn't intentional. I didn't know that when I helped add that > feature so I never looked at it. > > I'm sure jdp wouldn't mind a patch that fixed this. I'm coming in kind of late on this. But I agree with Doug. It's a bug, and a patch would be welcomed. On the other hand, when we finally make the switch to ELF (soon, I hope), the a.out ld.so won't be used much any more. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message