From owner-cvs-lib Thu Aug 28 14:53:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22832 for cvs-lib-outgoing; Thu, 28 Aug 1997 14:53:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA22718; Thu, 28 Aug 1997 14:51:41 -0700 (PDT) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA16359; Thu, 28 Aug 1997 14:50:35 -0700 (PDT) Date: Thu, 28 Aug 1997 14:50:35 -0700 (PDT) Message-Id: <199708282150.OAA16359@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/rpc getpublickey.c Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1997/08/28 14:50:34 PDT Modified files: lib/libc/rpc Makefile.inc Added files: lib/libc/rpc getpublickey.c Log: Add a stub version of getpublickey(), in order to eliminate an undefined symbol referenced from libc. Without the stub, it is impossible to execute any program using the shared library if LD_BIND_NOW=1 is in the environment. The stub always returns failure, but it can be overridden outside the library when necessary. I don't know whether this is the "correct" fix, but it is intolerable to have any undefined symbols referenced from libc. Revision Changes Path 1.10 +2 -1 src/lib/libc/rpc/Makefile.inc