Skip to contentSkip to conversation

UML - ELF locking commentary

PATCH New Jeff Dike 1 participant 1 message Feb 7, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 5/7 UML - ELF locking commentary

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

--

 arch/um/os-Linux/elf_aux.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/um/os-Linux/elf_aux.c +1 -2
Index: linux-2.6.18-mm/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)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel