[PATCH] namespaces: utsname: switch to using uts namespaces
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 2 Oct 2006 09:18:11 +0000 (02:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:21 +0000 (07:57 -0700)
commite9ff3990f08e9a0c2839cc22808b01732ea5b3e4
treec638a7b89f0c5e8adc410316d06ca1de8b8dabee
parent0bdd7aab7f0ecd5d337910816aa058c18398628e
[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>
35 files changed:
arch/alpha/kernel/osf_sys.c
arch/i386/kernel/sys_i386.c
arch/ia64/sn/kernel/sn2/sn_hwperf.c
arch/m32r/kernel/sys_m32r.c
arch/mips/kernel/linux32.c
arch/mips/kernel/syscall.c
arch/mips/kernel/sysirix.c
arch/parisc/hpux/sys_hpux.c
arch/powerpc/kernel/syscalls.c
arch/sh/kernel/sys_sh.c
arch/sh64/kernel/sys_sh64.c
arch/sparc/kernel/sys_sparc.c
arch/sparc/kernel/sys_sunos.c
arch/sparc64/kernel/sys_sparc.c
arch/sparc64/kernel/sys_sunos32.c
arch/sparc64/solaris/misc.c
arch/um/drivers/mconsole_kern.c
arch/um/kernel/syscall.c
arch/um/sys-x86_64/syscalls.c
arch/x86_64/ia32/sys_ia32.c
arch/x86_64/kernel/sys_x86_64.c
arch/xtensa/kernel/syscalls.c
drivers/char/random.c
fs/cifs/connect.c
fs/exec.c
fs/lockd/clntproc.c
fs/lockd/mon.c
fs/lockd/svclock.c
fs/lockd/xdr.c
fs/nfs/nfsroot.c
include/asm-i386/elf.h
include/linux/lockd/lockd.h
kernel/sys.c
net/ipv4/ipconfig.c
net/sunrpc/clnt.c