iproute2/ip
Eric W. Biederman 144e6ce167 iproute2: Don't propogate mounts out of ip
Some systems are now following the advice in
linux/Documentation/sharedsubtrees.txt and running with all mount
points shared between all mount namespaces by default.

After creating the mount namespace call mount on / with
MS_SLAVE|MS_REC to modify all mounts in the new mount namespace to
slave mounts if they are shared or private mounts otherwise.
Guarnateeing that changes to the mount namespace created with
"ip netns exec" don't propgate to other namespaces.

Reported-by: Petr Šabata <contyk@redhat.com>
Tested-by: Petr Šabata <contyk@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2013-02-04 08:33:50 -08:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile ip: add support of 'ip link type [ipip|sit]' 2012-12-12 09:10:22 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c ip: add support of 'ip link type ip6tnl' 2012-12-12 09:09:23 -08:00
ip6tunnel.c ip/ip6tunnel: fix update of tclass and flowlabel 2012-11-16 08:15:39 -08:00
ip_common.h ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipaddress.c include needed files 2012-12-23 11:49:06 -08:00
ipaddrlabel.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipl2tp.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
iplink.c ip: add the type 'vxlan' in the output of "ip link help" 2012-12-17 08:15:57 -08:00
iplink_can.c iproute2: netlink support for bus-error reporting and counters 2010-03-03 16:45:10 -08:00
iplink_ipoib.c iplink: Added support for the kernel IPoIB RTNL ops 2012-10-25 08:53:12 -07:00
iplink_macvlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_macvtap.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vxlan.c add DOVE extensions for iproute2 2012-12-12 10:02:19 -08:00
ipmaddr.c Fix file descriptor leak on error in read_igmp() 2011-10-07 11:20:23 -07:00
ipmonitor.c ip: update man pages and usage() for 'ip monitor' 2012-12-17 08:47:51 -08:00
ipmroute.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipneigh.c add DOVE extensions for iproute2 2012-12-12 10:02:19 -08:00
ipnetconf.c ip: add support of netconf messages 2012-12-12 09:05:51 -08:00
ipnetns.c iproute2: Don't propogate mounts out of ip 2013-02-04 08:33:50 -08:00
ipntable.c include needed files 2012-12-23 11:49:06 -08:00
ipprefix.c include needed files 2012-12-23 11:49:06 -08:00
iproute.c ip: fix "ip -6 route add ... nexthop" 2012-10-25 09:07:01 -07:00
iprule.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iptunnel.c VTI support for ip tunnel 2012-08-01 16:11:25 -07:00
iptuntap.c iproute2: man page and /bin/ip disagree on del vs delete 2012-05-21 15:17:28 -07:00
ipxfrm.c ipxfrm: use alloca to allocate stack space 2013-01-18 08:17:12 -08:00
link_gre.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
link_ip6tnl.c ip: add support of 'ip link type ip6tnl' 2012-12-12 09:09:23 -08:00
link_iptnl.c ip/link_iptnl: fix indentation Logged in as shemminger 2012-12-14 09:50:33 -08:00
link_veth.c iproute2: support device group semantics 2011-02-25 12:43:14 -08:00
link_vti.c iproute2: VTI support for ip link command. 2012-08-01 16:13:32 -07:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c support static-only systems 2009-11-10 10:44:20 -08:00
tcp_metrics.c iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
tunnel.c Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
tunnel.h Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
xfrm.h xfrm security context support 2011-03-17 09:58:23 -07:00
xfrm_monitor.c ip: xfrm: report nat-t/encapsulation portmapping updates 2012-03-15 14:49:03 -07:00
xfrm_policy.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
xfrm_state.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00