public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sock_alloc() symbol removed in 2.6.10
@ 2006-06-16 10:54 Ralf Dauberschmidt
  2006-06-16 15:56 ` Arjan van de Ven
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Dauberschmidt @ 2006-06-16 10:54 UTC (permalink / raw)
  To: linux-kernel

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"?

Thanks in advance.

Regards,
 Ralf Dauberschmidt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sock_alloc() symbol removed in 2.6.10
  2006-06-16 10:54 sock_alloc() symbol removed in 2.6.10 Ralf Dauberschmidt
@ 2006-06-16 15:56 ` Arjan van de Ven
  2006-06-16 19:20   ` Stephen Smalley
  2006-06-16 19:44   ` AW: " Ralf Dauberschmidt
  0 siblings, 2 replies; 4+ messages in thread
From: Arjan van de Ven @ 2006-06-16 15:56 UTC (permalink / raw)
  To: Ralf Dauberschmidt; +Cc: linux-kernel

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 ?


what driver are you looking at that wants to use it?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sock_alloc() symbol removed in 2.6.10
  2006-06-16 15:56 ` Arjan van de Ven
@ 2006-06-16 19:20   ` Stephen Smalley
  2006-06-16 19:44   ` AW: " Ralf Dauberschmidt
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Smalley @ 2006-06-16 19:20 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: Ralf Dauberschmidt, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: sock_alloc() symbol removed in 2.6.10
  2006-06-16 15:56 ` Arjan van de Ven
  2006-06-16 19:20   ` Stephen Smalley
@ 2006-06-16 19:44   ` Ralf Dauberschmidt
  1 sibling, 0 replies; 4+ messages in thread
From: Ralf Dauberschmidt @ 2006-06-16 19:44 UTC (permalink / raw)
  To: linux-kernel

Arjan van de Ven wrote:
> what driver are you looking at that wants to use it?

At university we are currently porting a project from a 2.4 series kernel to
a recent 2.6 series kernel. This project uses the sock_alloc() function.


Stephen Smalley wrote:
> 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

Thanks for the hint, I will use sock_create_lite() instead.


Regards,
 Ralf Dauberschmidt


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-16 19:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 10:54 sock_alloc() symbol removed in 2.6.10 Ralf Dauberschmidt
2006-06-16 15:56 ` Arjan van de Ven
2006-06-16 19:20   ` Stephen Smalley
2006-06-16 19:44   ` AW: " Ralf Dauberschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox