Re: kernel bug in socketpair()

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jul 23 2003 - 11:13:40 EST


On Mer, 2003-07-23 at 16:36, David S. Miller wrote:
> > This is intentional - sockets do not have an "open" operation currently.
>
> Sure, but we've known this for a long time.
>
> And because we knew, we decided not to add an "open"
> method to sockets. The reason, as I remember it, was
> security.
>
> Was it not?

Mostly if I remember rightly that if you don't do the check because you have
no open operation to create a new instance you crash the box. HPA did have
some sensible ideas about how to do "open" on AF_UNIX sockets but for the
others its really unclear quite what "open" means

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:49 EST