lkml.org 
[lkml]   [2016]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Change CONFIG_DEVKMEM default value to n
On Thu, Oct 6, 2016 at 8:57 PM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Fri, Oct 07, 2016 at 10:04:11AM +0800, Dave Young wrote:
>> Kconfig comment suggests setting it as "n" if in doubt thus move the
>> default value to 'n'.
>>
>> Signed-off-by: Dave Young <dyoung@redhat.com>
>> Suggested-by: Kees Cook <keescook@chromium.org>
>> ---
>> drivers/char/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --- linux-x86.orig/drivers/char/Kconfig
>> +++ linux-x86/drivers/char/Kconfig
>> @@ -17,7 +17,7 @@ config DEVMEM
>>
>> config DEVKMEM
>> bool "/dev/kmem virtual device support"
>> - default y
>> + default n
>
> If you remove the "default" line, it defaults to 'n'.
>
> And is it really "safe" to default this to n now?

This is DEVKMEM which distros haven't (shouldn't have?) used for a
while now. I'm not so bold as to suggest making DEVMEM default-n yet.
;)

-Kees

--
Kees Cook
Nexus Security

\
 
 \ /
  Last update: 2016-10-07 19:08    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog