Messages in this thread | | | Date | Wed, 3 Feb 2021 14:31:14 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH][RESEND] lib/vsprintf: make-printk-non-secret printks all addresses as unhashed |
| |
On Wed 2021-02-03 10:54:24, Petr Mladek wrote: > On Tue 2021-02-02 15:36:33, 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@kernel.org> > > --- > > lib/vsprintf.c | 34 ++++++++++++++++++++++++++++++++-- > > 1 file changed, 32 insertions(+), 2 deletions(-) > > Please, add also entry into > Documentation/admin-guide/kernel-parameters.txt.
Adding Andy and Rasmus into CC. They are official vsprintf co-maintainers and reviewers (MAINTAINERS file).
Also please make sure that lib/test_printf.c will work with the new option.
Best Regards, Petr
| |