netdev
[Top] [All Lists]

Re: RFC: PPP over X

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: RFC: PPP over X
From: Paul Mackerras <paulus@xxxxxxxxxxxxx>
Date: Tue, 8 Feb 2000 12:29:07 +1100
Cc: Michal Ostrowski <mostrows@xxxxxxxxxxxxxxxxx>, Mitchell Blank Jr <mitch@xxxxxxxxxx>, netdev@xxxxxxxxxxx, axboe@xxxxxxx, Mark Spencer <markster@xxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Marc Boucher <marc@xxxxxxx>, Ben LaHaise <bcrl@xxxxxxxxxx>
Organization: Linuxcare, Inc.
References: <Pine.GSO.4.20.0002061211320.1009-100000@xxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
On Mon, 07 Feb 2000, jamal wrote:

> Locking inside the kernel will help instead of UID i.e make the channel
> grabbing atomic; if the channel is grabbed its state changes to "grabbed";
> this could be also interpreted as a refcount; on close or detach it goes
> back to "available" state.

That still leaves a race where I can grab your channel.  Actually it would
probably be better to say that only root can grab a channel.

--
Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@xxxxxxxxxxxxxxxx, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.

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