lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 13 Apr 2020 13:02:42 +0800
From:   Orson Zhai <orson.unisoc@...il.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Jonathan Corbet <corbet@....net>, Petr Mladek <pmladek@...e.com>,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
        Steven Rostedt <rostedt@...dmis.org>,
        Jason Baron <jbaron@...mai.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Randy Dunlap <rdunlap@...radead.org>, orsonzhai@...il.com,
        linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
        kernel-team@...roid.com, Orson Zhai <orson.zhai@...soc.com>
Subject: Re: [PATCH] dynamic_debug: Add an option to enable dynamic debug for
 modules only

On Fri, Apr 10, 2020 at 02:44:14PM +0200, Greg Kroah-Hartman wrote:
> On Fri, Apr 10, 2020 at 08:33:04PM +0800, Orson Zhai wrote:
> > From: Orson Zhai <orson.zhai@...soc.com>
> > 
> > Instead of enabling dynamic debug globally with CONFIG_DYNAMIC_DEBUG,
> > CONFIG_DYNAMIC_DEBUG_CORE will only enable core function of dynamic
> > debug. With the DEBUG_MODULE defined for any modules, dynamic debug
> > will be tied to them.
> > 
> > This is useful for people who only want to enable dynamic debug for
> > kernel modules without worrying about kernel image size and memory
> > consumption is increasing too much.
> > 
> > Signed-off-by: Orson Zhai <orson.zhai@...soc.com>
> > ---
> >  Documentation/admin-guide/dynamic-debug-howto.rst |  7 +++++--
> >  include/linux/dev_printk.h                        |  6 ++++--
> >  include/linux/dynamic_debug.h                     |  2 +-
> >  include/linux/printk.h                            | 14 +++++++++-----
> >  lib/Kconfig.debug                                 | 12 ++++++++++++
> >  lib/Makefile                                      |  2 +-
> >  lib/dynamic_debug.c                               |  9 +++++++--
> >  7 files changed, 39 insertions(+), 13 deletions(-)
> 
> Crazy idea, I like it :)

Jason was highly appreciated for his suggestion to my RFC patch before this.

> 
> Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

Thank you very much.

Best,
Orson

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ