On Sun, 6 Feb 2000, Mitchell Blank Jr wrote:
> As for teaching pppd to "get hold of a file descriptor" I worked a lot
> today at making that stuff modular... I've still got a little work
> to do, but I'll share a patch with the rest of the class tommorrow.
> Hopefully you'll find it fit for inclusion with the next pppd, which
> will make PPPoATM and PPPoE at least a lot easier to install.
While this is generally a good idea, maybe we should agree on the
> > Probably there should be a UID associated with the
> > channel to make sure I can't steal the channel you just set up.
> Its things like this that make me really like the socket-family model.
> When you have a file descriptor you have a nice automatically reference-
> counted token that you can pass among user-space programs.
socket ref counts dont protect you from someone else grabbing the ppp
channel from underneath you ;->
It should be trivial to add refcounting to the chanels.