Enable the init_on_alloc=1 and init_on_free=1 Linux options
Originally created by @intrigeri on #17236 (Redmine)
- https://outflux.net/blog/archives/2019/11/14/security-things-in-linux-v5-3/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6471384af2a6530696fc0203bafe4de41a23c9ef
We should normally have done this when upgrading to Linux 5.3, but Kees’ blog post was not published yet back then.
Feature Branch: feature/17236-heap-variable-initialization+force-all-tests
Related issues
- Related to #17124 (closed)
- Related to #17117 (closed)