From owner-cvs-all Tue Sep 1 18:09:43 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03036 for cvs-all-outgoing; Tue, 1 Sep 1998 18:09:43 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03031; Tue, 1 Sep 1998 18:09:41 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA24978; Tue, 1 Sep 1998 18:09:34 -0700 (PDT) Date: Tue, 1 Sep 1998 18:09:34 -0700 (PDT) Message-Id: <199809020109.SAA24978@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/libexec/rtld-elf rtld.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/09/01 18:09:34 PDT Modified files: libexec/rtld-elf rtld.c Log: Handle dlsym(NULL, ...) properly, by searching in the caller's shared object. Note, this searches _only_ that object, and not its needed objects, in accordance with the documentation. Also fix dlopen(NULL, ...) so that the executable's needed objects are searched as well as the executable itself. Revision Changes Path 1.4 +26 -11 src/libexec/rtld-elf/rtld.c