mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 20:19:07 +00:00
We're currently adding 'kaslr' to the chosen node, with a value of 0. I'm not sure what that does, but we should probably add an actual random value here. There is a 'kaslr-seed' property that can be written into chosen and used to randomize the kernel address in memory. Let's populate that property instead so we get some sort of random kernel location in memory. BUG=None TEST=Boot up guest on cheza, hexdump kaslr-seed in /sys/firmware/devicetree and see that it's been changed to 0 Change-Id: I3f7b1ac64174bcf2e9010df992c2b2553ff90979 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2040476 Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Stephen Boyd <swboyd@chromium.org> Commit-Queue: Stephen Boyd <swboyd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |