linux/net
Eric W. Biederman 1b8d7ae42d [NET]: Make socket creation namespace safe.
This patch passes in the namespace a new socket should be created in
and has the socket code do the appropriate reference counting.  By
virtue of this all socket create methods are touched.  In addition
the socket create methods are modified so that they will fail if
you attempt to create a socket in a non-default network namespace.

Failing if we attempt to create a socket outside of the default
network namespace ensures that as we incrementally make the network stack
network namespace aware we will not export functionality that someone
has not audited and made certain is network namespace safe.
Allowing us to partially enable network namespaces before all of the
exotic protocols are supported.

Any protocol layers I have missed will fail to compile because I now
pass an extra parameter into the socket creation code.

[ Integrated AF_IUCV build fixes from Andrew Morton... -DaveM ]

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:07 -07:00
..
9p 9p: fix bad error path in conversion routines 2007-08-23 10:25:05 -05:00
802 [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
8021q [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
appletalk [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
atm [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ax25 [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
bluetooth [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
bridge [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
core [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
dccp [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
decnet [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
econet [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ethernet [NET] ethernet: optimize memcpy and memset 2007-10-10 16:48:26 -07:00
ieee80211 [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
ipv4 [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ipv6 [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ipx [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
irda [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
iucv [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
key [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
lapb
llc [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
mac80211 [MAC80211]: make assoc_ap a flag 2007-10-10 16:48:58 -07:00
netfilter [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
netlabel [NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping hash table 2007-08-07 17:53:10 -07:00
netlink [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
netrom [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
packet [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
rfkill [NET] RFKILL: Fix whitespace errors. 2007-07-19 10:44:38 +09:00
rose [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
rxrpc [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sched [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
sctp [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sunrpc [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
tipc [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
unix [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
wanrouter [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
wireless [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
x25 [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
xfrm [XFRM]: xfrm audit calls 2007-10-10 16:49:02 -07:00
compat.c O_CLOEXEC for SCM_RIGHTS 2007-07-16 09:05:45 -07:00
Kconfig 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
Makefile 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
nonet.c
socket.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
sysctl_net.c
TUNABLE