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.