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]
Message-ID: <6dc4d3ce-005c-13be-971b-1c026e3272c1@infradead.org>
Date:   Wed, 22 Feb 2023 16:29:31 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Hanasaki Jiji <hanasaki@...il.com>,
        LIST - Linux Kernel <linux-kernel@...r.kernel.org>,
        Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Subject: Re: .config and "make" / turning off all debug

Hi,

On 2/22/23 16:21, Hanasaki Jiji wrote:
> Hello,
> 
> Thank you so much for helping out.
> 
> Might the below accomplish the task?
> 
> cat f | grep -v DEBUG| grep -v TRACE | grep -v TRACING > newConfigFileWithout

It will disable CONFIG_DEBUG_FS.  That's OK if that's what you want to do.

But this will just give you something to begin with. It will need more work.
There are lots of config options that use "select" to force another config
option to be set/enabled. Even if you disable an option and you have one of
these other options set/enabled, they will just enable the DEBUG/TRACE options
again for you.

When you find one of these, they pretty much have to be checked and tuned
one-by-one. It can take a lot of time to do that.


-- 
~Randy
https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ