Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a744d4f1 authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

ANDROID: cuttlefish_defconfig: enable heap and stack initialization.



This patch enables CONFIG_INIT_STACK_ALL=y and
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y, effectively turning on stack and heap
initialization in cuttlefish kernels.

Doing so will help us mitigate information leaks and make code that
depends on uninitialized memory execute deterministically. We'll also
get coverage for the initialization features on the existing kernel
tests.

Bug: 144999193

Change-Id: I1b5914a87a235d4f416cd64d7c9a5d410da09c35
Signed-off-by: default avatarAlexander Potapenko <glider@google.com>
parent 242a068a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment