Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE4VaGD8sKqUgOxr0im+OJgwrLxbbXDaKTSqpyAGRx=rr9isUg@mail.gmail.com>
Date: Thu, 20 Aug 2020 00:18:33 +0200
From: Jirka Hladky <jhladky@...hat.com>
To: Alexander Potapenko <glider@...gle.com>
Cc: kernel-hardening@...ts.openwall.com, linux-mm@...ck.org, 
	linux-security-module@...r.kernel.org
Subject: init_on_alloc/init_on_free boot options

Hi Alex,

Could you please help me to clarify the purpose of init_on_alloc=1
when init_on_free is enabled?

If I get it right, init_on_free=1 alone guarantees that the memory
returned by the page allocator and SL[AU]B is initialized with zeroes.
What is the purpose of init_on_alloc=1 in that case? We are zeroing
memory twice, or am I missing something?

Thanks a lot!
Jirka

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.