lkml.org 
[lkml]   [2021]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/3] [v3] lib/vsprintf: debug_never_hash_pointers prints all addresses as unhashed
From
Date


On 2/11/21 11:53 AM, Petr Mladek wrote:
> I would really like to make it clear here that it is not only about
> consoles. Most people will see only this message. Only few people read
> documentation. Many people will learn the parameter name from another
> context by googling.
>
> I know that it is not easy to find good words. Especially because
> pointers printed by %pK might still be hashed.
>
>> + pr_warn("** **\n");
>> + pr_warn("** Kernel memory addresses are exposed, which may **\n");
>> + pr_warn("** reduce the security of your system. **\n");

> What about replacing the first two paragraphs with something like:
>
> "This system shows unhashed kernel memory addresses via logs and
> other interfaces. It might reduce the security of your system."

That works, thanks. I'll post a v4 soon.

\
 
 \ /
  Last update: 2021-02-11 19:26    [W:0.151 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site