From owner-cvs-release Sun May 25 20:31:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA24431 for cvs-release-outgoing; Sun, 25 May 1997 20:31:45 -0700 (PDT) Received: from spinner.dialix.com.au (spinner.dialix.com.au [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA24409; Sun, 25 May 1997 20:31:03 -0700 (PDT) Received: from spinner.dialix.com.au (localhost.dialix.com.au [127.0.0.1]) by spinner.dialix.com.au with ESMTP id LAA00670; Mon, 26 May 1997 11:29:22 +0800 (WST) Message-Id: <199705260329.LAA00670@spinner.dialix.com.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: Eivind Eklund cc: "Jordan K. Hubbard" , jkh@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-release@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: cvs commit: src/release boot_crunch.conf In-reply-to: Your message of "Sun, 25 May 1997 14:39:51 +0200." <199705251239.OAA02704@bitbox.follo.net> Date: Mon, 26 May 1997 11:29:21 +0800 From: Peter Wemm Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund wrote: > > [please delete committers etc if you reply to this - this belong in hackers] > > > Well, I was mostly just trying to get the SNAPshot servers happy again... > > > > As to making it a compile-time option.. Hmmm. I like the idea of > > saving space, but it would also complicate the build to have two > > versions of ppp build at release time. What we really need is a > > dynamically loadable alias module. :-) > > It shouldn't be too hard to use libalias through dlopen()/dlsym(), > should it? I've never used these interfaces, but the aliasing > routines need only about three calls to work. For dlopen/dlclose/etc to work, it requires that the calling executable is dynamically linked, linked with libc.so.xx and that /usr/libexec/ld.so is present. A dynamic libc is important since if libalias makes any libc calls (memcpy, strcmp, etc) then the symbols have to be dynamically resolveable. For sysinstall on the boot floppy, this is probably a showstopper. However, at runtime on an installed system, there's probably not much stopping /usr/bin/ppp from doing this. > Eivind. Cheers, -Peter