From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4081 invoked by alias); 25 Jun 2003 08:44:16 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 19091 invoked from network); 25 Jun 2003 08:32:33 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 25 Jun 2003 08:32:33 -0000 Received: from redhat.com (myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.8/8.12.5) with ESMTP id h5P8WL7r022233; Wed, 25 Jun 2003 01:32:22 -0700 Message-ID: <3EF95E15.6020406@redhat.com> Date: Wed, 25 Jun 2003 08:44:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030614 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakub Jelinek CC: Glibc hackers Subject: Re: [PATCH] Allow __libc_dlopen from libraries __libc_dlopen'ed by statically linked executables References: <20030611203206.GX24872@sunsite.ms.mff.cuni.cz> In-Reply-To: <20030611203206.GX24872@sunsite.ms.mff.cuni.cz> X-Enigmail-Version: 0.76.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00047.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jakub Jelinek wrote: > 2003-06-11 Jakub Jelinek > > * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE. > * elf/dl-libc.c (struct dl_open_hook): New. > (_dl_open_hook): New variable. > (do_dlsym_private): New function. > (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE > and initialize it if found. > (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL, > call dlopen_mode hook. > (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL, > call dlsym hook. > (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL, > call dlclose hook. I've added the patch now. I would appreciate if this code can be given some testing. If it works out I'll look at the LDAP changes. Without this working it's not worth it. - -- - --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `--------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE++V4V2ijCOnn/RHQRAoUvAKCcSRL9jlPMn884Qw5Ixe6PlsxX9wCgswSV KthTFdneJYdb283TCVYQuRA= =A/O9 -----END PGP SIGNATURE-----