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
Linuxcare. Support for the revolution.