diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-10-28 10:15:38 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-11-06 13:02:33 +0100 |
| commit | 83b4b44a2b05330d13a4432caae0b036f9621ea1 (patch) | |
| tree | c830e88b8300bf7c4db88412cefff1c0e6c1b8c0 | |
| parent | c1b077515116dc7916dbf72d8803a682c5989aa6 (diff) | |
um: Split out default elf_aux_hwcap
Setting all auxiliary vector values to default values if one of them
was not provided by the host will discard perfectly fine values.
Remove the elf_aux_platform fallback from the vDSO ones.
As zero is the correct fallback anyways, don't create a new conditional.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251028-uml-remove-32bit-pseudo-vdso-v1-3-e930063eff5f@weissschuh.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
| -rw-r--r-- | arch/um/os-Linux/elf_aux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/os-Linux/elf_aux.c b/arch/um/os-Linux/elf_aux.c index 4aadb9ea5ae3..9ee0e3199790 100644 --- a/arch/um/os-Linux/elf_aux.c +++ b/arch/um/os-Linux/elf_aux.c @@ -62,11 +62,9 @@ __init void scan_elf_aux( char **envp) } } if ( ! __kernel_vsyscall || ! vsyscall_ehdr || - ! elf_aux_hwcap || ! page_size || (vsyscall_ehdr % page_size) ) { __kernel_vsyscall = 0; vsyscall_ehdr = 0; - elf_aux_hwcap = 0; } else { vsyscall_end = vsyscall_ehdr + page_size; |