[PATCH] namespaces: utsname: switch to using uts namespaces
Replace references to system_utsname to the per-process uts namespace where appropriate. This includes things like uname. Changes: Per Eric Biederman's comments, use the per-process uts namespace for ELF_PLATFORM, sunrpc, and parts of net/ipv4/ipconfig.c [jdike@addtoit.com: UML fix] [clg@fr.ibm.com: cleanup] [akpm@osdl.org: build fix] Signed-off-by:Serge E. Hallyn <serue@us.ibm.com> Cc: Kirill Korotaev <dev@openvz.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Herbert Poetzl <herbert@13thfloor.at> Cc: Andrey Savochkin <saw@sw.ru> Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/alpha/kernel/osf_sys.c 13 additions, 13 deletionsarch/alpha/kernel/osf_sys.c
- arch/i386/kernel/sys_i386.c 16 additions, 11 deletionsarch/i386/kernel/sys_i386.c
- arch/ia64/sn/kernel/sn2/sn_hwperf.c 1 addition, 1 deletionarch/ia64/sn/kernel/sn2/sn_hwperf.c
- arch/m32r/kernel/sys_m32r.c 1 addition, 1 deletionarch/m32r/kernel/sys_m32r.c
- arch/mips/kernel/linux32.c 1 addition, 1 deletionarch/mips/kernel/linux32.c
- arch/mips/kernel/syscall.c 16 additions, 11 deletionsarch/mips/kernel/syscall.c
- arch/mips/kernel/sysirix.c 6 additions, 6 deletionsarch/mips/kernel/sysirix.c
- arch/parisc/hpux/sys_hpux.c 21 additions, 16 deletionsarch/parisc/hpux/sys_hpux.c
- arch/powerpc/kernel/syscalls.c 7 additions, 7 deletionsarch/powerpc/kernel/syscalls.c
- arch/sh/kernel/sys_sh.c 1 addition, 1 deletionarch/sh/kernel/sys_sh.c
- arch/sh64/kernel/sys_sh64.c 1 addition, 1 deletionarch/sh64/kernel/sys_sh64.c
- arch/sparc/kernel/sys_sparc.c 2 additions, 2 deletionsarch/sparc/kernel/sys_sparc.c
- arch/sparc/kernel/sys_sunos.c 10 additions, 5 deletionsarch/sparc/kernel/sys_sunos.c
- arch/sparc64/kernel/sys_sparc.c 2 additions, 2 deletionsarch/sparc64/kernel/sys_sparc.c
- arch/sparc64/kernel/sys_sunos32.c 5 additions, 5 deletionsarch/sparc64/kernel/sys_sunos32.c
- arch/sparc64/solaris/misc.c 3 additions, 3 deletionsarch/sparc64/solaris/misc.c
- arch/um/drivers/mconsole_kern.c 3 additions, 3 deletionsarch/um/drivers/mconsole_kern.c
- arch/um/kernel/syscall.c 11 additions, 11 deletionsarch/um/kernel/syscall.c
- arch/um/sys-x86_64/syscalls.c 1 addition, 1 deletionarch/um/sys-x86_64/syscalls.c
- arch/x86_64/ia32/sys_ia32.c 19 additions, 19 deletionsarch/x86_64/ia32/sys_ia32.c
Loading
Please register or sign in to comment