From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:26 +0000 (-0800) Subject: [PATCH] uml: ELF locking commentary X-Git-Tag: v2.6.21-rc1~274^2~389 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c538b391a7e8f3cb5d7756ec68d1864429d26a0c;p=linux-2.6-omap-h63xx.git [PATCH] uml: ELF locking commentary Comment the lack of locking of the elf data extracted from the ELF headers passed to UML. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/os-Linux/elf_aux.c b/arch/um/os-Linux/elf_aux.c index 5a99dd3fbed..3a8d7e3aae0 100644 --- a/arch/um/os-Linux/elf_aux.c +++ b/arch/um/os-Linux/elf_aux.c @@ -21,12 +21,11 @@ typedef Elf32_auxv_t elf_auxv_t; typedef Elf64_auxv_t elf_auxv_t; #endif +/* These are initialized very early in boot and never changed */ char * elf_aux_platform; long elf_aux_hwcap; - unsigned long vsyscall_ehdr; unsigned long vsyscall_end; - unsigned long __kernel_vsyscall; __init void scan_elf_aux( char **envp)