Thread (8 messages) flat view 8 messages, 5 authors, 2007-08-31

Re: [patch 0/1][RFC] add a private field to the sock structure

From: David Miller <davem@davemloft.net>
Date: 2007-08-29 18:23:17

From: dlezcano@fr.ibm.com
Date: Wed, 29 Aug 2007 18:41:14 +0200
When a socket is created it is sometime useful to store a specific information
for this socket.
 
This information can be for examples: 
	* a creation time
	* a pid
	* a uid/gid
	* a container identifier
	* a pointer to a more specific structure
	* ...

The following patch is a proposition to add a private anonymous pointer
field to the common part of the sock structure.
We got rid of the private field a long time ago because not only
is it not needed, it tends to get abused.

Find another way to implement your feature.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help