Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 00:03:46 -0400 (EDT)
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/ppp bundle.c id.c id.h 
Message-ID:  <Pine.BSF.4.10.9909212357320.10399-100000@janus.syracuse.net>
In-Reply-To: <199909220347.UAA09990@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909212357320.10399-100000>