Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2000 08:06:12 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: bpf "fix" 
Message-ID:  <45962.970553172@critter>
In-Reply-To: Your message of "Mon, 02 Oct 2000 21:19:27 PDT." <XFMail.001002211927.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.001002211927.jhb@FreeBSD.org>, John Baldwin writes:
>I stared at the bpf code some last week, and determined that the
>extra make_dev() was in bpf's open() method in the non-devfs
>case.  As such, I have a rather simple patch.  However, I don't
>like a driver having to be aware of devfs.  Does anyone have any
>other (preferably cleaner) ways to fix this?

Yes, I'm working on a patch for all pseudo devices so that they
go away (entirely) when no longer used.

That's the problem with cloning devices: you need a way to get
rid of them again or you have a DoS on your hands.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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