457c4cbc5a
This patch makes /proc/net per network namespace. It modifies the global variables proc_net and proc_net_stat to be per network namespace. The proc_net file helpers are modified to take a network namespace argument, and all of their callers are fixed to pass &init_net for that argument. This ensures that all of the /proc/net files are only visible and usable in the initial network namespace until the code behind them has been updated to be handle multiple network namespaces. Making /proc/net per namespace is necessary as at least some files in /proc/net depend upon the set of network devices which is per network namespace, and even more files in /proc/net have contents that are relevant to a single network namespace. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
adapter.h | ||
capi20.h | ||
capidtmf.c | ||
capidtmf.h | ||
capifunc.c | ||
capifunc.h | ||
capimain.c | ||
cardtype.h | ||
cp_vers.h | ||
dadapter.c | ||
dadapter.h | ||
debug.c | ||
debug_if.h | ||
debuglib.c | ||
debuglib.h | ||
dfifo.h | ||
di.c | ||
di.h | ||
di_dbg.h | ||
di_defs.h | ||
did_vers.h | ||
diddfunc.c | ||
diva.c | ||
diva.h | ||
diva_didd.c | ||
diva_dma.c | ||
diva_dma.h | ||
diva_pci.h | ||
divacapi.h | ||
divamnt.c | ||
divasfunc.c | ||
divasi.c | ||
divasmain.c | ||
divasproc.c | ||
divasync.h | ||
dqueue.c | ||
dqueue.h | ||
dsp_defs.h | ||
dsp_tst.h | ||
dspdids.h | ||
dsrv4bri.h | ||
dsrv_bri.h | ||
dsrv_pri.h | ||
entity.h | ||
helpers.h | ||
idifunc.c | ||
io.c | ||
io.h | ||
istream.c | ||
Kconfig | ||
kst_ifc.h | ||
maintidi.c | ||
maintidi.h | ||
Makefile | ||
man_defs.h | ||
mdm_msg.h | ||
message.c | ||
mi_pc.h | ||
mntfunc.c | ||
os_4bri.c | ||
os_4bri.h | ||
os_bri.c | ||
os_bri.h | ||
os_capi.h | ||
os_pri.c | ||
os_pri.h | ||
pc.h | ||
pc_init.h | ||
pc_maint.h | ||
pkmaint.h | ||
platform.h | ||
pr_pc.h | ||
s_4bri.c | ||
s_bri.c | ||
s_pri.c | ||
sdp_hdr.h | ||
um_idi.c | ||
um_idi.h | ||
um_xdi.h | ||
xdi_adapter.h | ||
xdi_msg.h | ||
xdi_vers.h |