netdev
[Top] [All Lists]

Re: RFC: PPP over X

To: Mitchell Blank Jr <mitch@xxxxxxxxxx>
Subject: Re: RFC: PPP over X
From: jamal <hadi@xxxxxxxxxx>
Date: Sun, 6 Feb 2000 12:38:18 -0500 (EST)
Cc: Paul Mackerras <paulus@xxxxxxxxxxxxx>, Michal Ostrowski <mostrows@xxxxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, axboe@xxxxxxx, Mark Spencer <markster@xxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Marc Boucher <marc@xxxxxxx>, Ben LaHaise <bcrl@xxxxxxxxxx>
In-reply-to: <20000206053819.X9170@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

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
flow/semantics first?

> > 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.

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>