Commit c538b391 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[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: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent de5fe76e
...@@ -21,12 +21,11 @@ typedef Elf32_auxv_t elf_auxv_t; ...@@ -21,12 +21,11 @@ typedef Elf32_auxv_t elf_auxv_t;
typedef Elf64_auxv_t elf_auxv_t; typedef Elf64_auxv_t elf_auxv_t;
#endif #endif
/* These are initialized very early in boot and never changed */
char * elf_aux_platform; char * elf_aux_platform;
long elf_aux_hwcap; long elf_aux_hwcap;
unsigned long vsyscall_ehdr; unsigned long vsyscall_ehdr;
unsigned long vsyscall_end; unsigned long vsyscall_end;
unsigned long __kernel_vsyscall; unsigned long __kernel_vsyscall;
__init void scan_elf_aux( char **envp) __init void scan_elf_aux( char **envp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment