Re: [PATCH][RESEND] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed

From: Randy Dunlap
Date: Tue Feb 02 2021 - 22:32:57 EST


On 2/2/21 7:24 PM, Sergey Senozhatsky wrote:
> On (21/02/02 15:36), Timur Tabi wrote:
>> If the make-printk-non-secret command-line parameter is set, then
>> printk("%p") will print addresses as unhashed. This is useful for
>> debugging purposes.
>>
>> A large warning message is displayed if this option is enabled,
>> because unhashed addresses, while useful for debugging, exposes
>> kernel addresses which can be a security risk.
>>
>> Signed-off-by: Timur Tabi <timur@xxxxxxxxxx>
>
> Looks good to me.
>
> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
>
> -ss

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

thanks.
--
~Randy