diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-10-28 10:15:39 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-11-06 13:02:33 +0100 |
| commit | 70d52694b6a67ace517da44ce4071594fcccd1ee (patch) | |
| tree | b6d382f32b1224837aa48663e5dffdbb8ac1339e /rust/helpers/pwm.c | |
| parent | 83b4b44a2b05330d13a4432caae0b036f9621ea1 (diff) | |
x86/um: Do not inherit vDSO from host
Inheriting the vDSO from the host is problematic. The values read
from the time functions will not be correct for the UML kernel.
Furthermore the start and end of the vDSO are not stable or
detectable by userspace. Specifically the vDSO datapages start
before AT_SYSINFO_EHDR and the vDSO itself is larger than a single page.
This codepath is only used on 32bit x86 UML. In my testing with both
32bit and 64bit hosts the passthrough functionality has always been
disabled anyways due to the checks against envp in scan_elf_aux().
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251028-uml-remove-32bit-pseudo-vdso-v1-4-e930063eff5f@weissschuh.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/helpers/pwm.c')
0 files changed, 0 insertions, 0 deletions
