Re: [kernel-hardening] Re: [PATCH] random: silence compiler warnings and fix race

From: Jason A. Donenfeld
Date: Tue Jun 20 2017 - 16:09:32 EST

On Tue, Jun 20, 2017 at 8:14 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> How about doing this:
> default DEBUG_KERNEL
> Most distro kernel select DEBUG_KERNEL because it unhides a bunch of
> other useful configs. Since it doesn't strictly _depend_ on
> DEBUG_KERNEL, I think it's probably a mistake to enforce a false
> dependency. Using it as a hint for the default seems maybe like a good
> middle ground. (And if people can't agree on that, then I guess
> "default n"...)

I didn't know you could do that with Kconfig. Great idea. I'll make
this change and submit a new patch to Ted.