From owner-cvs-all Tue Sep 21 21: 3:52 1999 Delivered-To: cvs-all@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 8E44214ED3; Tue, 21 Sep 1999 21:03:48 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.3/8.8.7) with ESMTP id AAA15160; Wed, 22 Sep 1999 00:03:46 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Wed, 22 Sep 1999 00:03:46 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Mike Smith Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp bundle.c id.c id.h In-Reply-To: <199909220347.UAA09990@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Tue, 21 Sep 1999, Mike Smith wrote: > > Seriously, though, does anyone know if kldsym() is supposed to find > > static symbols? > > If you're trying to do what I think you're trying to do, use the > technique I used with ifconfig. Unlike the rest of Bill's little > babies, the tun device will show up as if_tun. Now that I think about it, it would really be most proper to fix the linker to return EEXIST when you try to load a module with the same name as a preexisting one. I think that the purpouse of the check was originally just to prevent if_tun from being loaded twice, not to see if it was loaded (that was the ENXIO.) -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message