Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | net: implement a SO_DOMAIN getsockoption | Jan Engelhardt | 2009-08-05 |
| | | | | | | | | | | | This sockopt goes in line with SO_TYPE and SO_PROTOCOL. It makes it possible for userspace programs to pass around file descriptors — I am referring to arguments-to-functions, but it may even work for the fd passing over UNIX sockets — without needing to also pass the auxiliary information (PF_INET6/IPPROTO_TCP). Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: David S. Miller <davem@davemloft.net> | ||
* | net: implement a SO_PROTOCOL getsockoption | Jan Engelhardt | 2009-08-05 |
| | | | | | | | | | | | | | | | Similar to SO_TYPE returning the socket type, SO_PROTOCOL allows to retrieve the protocol used with a given socket. I am not quite sure why we have that-many copies of socket.h, and why the values are not the same on all arches either, but for where hex numbers dominate, I use 0x1029 for SO_PROTOCOL as that seems to be the next free unused number across a bunch of operating systems, or so Google results make me want to believe. SO_PROTOCOL for others just uses the next free Linux number, 38. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: David S. Miller <davem@davemloft.net> | ||
* | Move arch headers from include/asm-mn10300/ to arch/mn10300/include/asm/. | David Howells | 2009-04-10 |
Signed-off-by: David Howells <dhowells@redhat.com> |