forked from luck/tmp_suning_uos_patched
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_if.h | ||
debug.c | ||
debuglib.c | ||
debuglib.h | ||
dfifo.h | ||
di_dbg.h | ||
di_defs.h | ||
di.c | ||
di.h | ||
did_vers.h | ||
diddfunc.c | ||
diva_didd.c | ||
diva_dma.c | ||
diva_dma.h | ||
diva_pci.h | ||
diva.c | ||
diva.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_init.h | ||
pc_maint.h | ||
pc.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 |