LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 5/7] UML - ELF locking commentary
@ 2007-02-07 19:47 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-02-07 19:47 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel

Comment the lack of locking of the elf data extracted from the ELF headers
passed to UML.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
--
 arch/um/os-Linux/elf_aux.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6.18-mm/arch/um/os-Linux/elf_aux.c
===================================================================
--- linux-2.6.18-mm.orig/arch/um/os-Linux/elf_aux.c	2006-06-17 21:49:35.000000000 -0400
+++ linux-2.6.18-mm/arch/um/os-Linux/elf_aux.c	2007-01-09 15:33:31.000000000 -0500
@@ -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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-07 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 19:47 [PATCH 5/7] UML - ELF locking commentary Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).