Re: sock_alloc() symbol removed in 2.6.10

From: Stephen Smalley
Date: Fri Jun 16 2006 - 15:15:58 EST


On Fri, 2006-06-16 at 17:56 +0200, Arjan van de Ven wrote:
> On Fri, 2006-06-16 at 12:54 +0200, Ralf Dauberschmidt wrote:
> > Hello,
> >
> > As of kernel 2.6.10 the symbol export of the sock_alloc() function has been
> > removed (I assume in the course of "Remove dead socket layer exports"). Can
> > anybody tell me why this happened? Why is it "dead"?
>
> nobody used it ?

Also, it would be better to use sock_create_lite() to ensure proper
handling by the security subsystem. See:
http://marc.theaimsgroup.com/?l=git-commits-head&m=108407590404054&w=2

--
Stephen Smalley
National Security Agency

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