Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jul 1998 09:01:03 -0700
From:      John Polstra <jdp@polstra.com>
To:        ambrisko@whistle.com
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Problem with ld.so + LD_PRELOAD + _init()
Message-ID:  <199807011601.JAA04116@austin.polstra.com>
In-Reply-To: <199806182244.PAA25002@whistle.com>
References:  <199806182244.PAA25002@whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199806182244.PAA25002@whistle.com>,
Doug Ambrisko  <ambrisko@whistle.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807011601.JAA04116>