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] [day] [month] [year] [list]
Date:   Thu, 23 Feb 2023 19:09:59 -0500
From:   Hanasaki Jiji <hanasaki@...il.com>
To:     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

CONFIG_DEBUG_FS appears to be a relevant to kernel development.  So,
turning that off should be fine for me.

The below are from grep SELECT.  Looking each up, none seem to enable
DEBUG/TRACE elsewhere. However I am still somewhat a newbie.
CONFIG_PROCESSOR_SELECT=
CONFIG_B44_PCI_AUTOSELECT=
CONFIG_B44_PCICORE_AUTOSELECT=
CONFIG_B43_PCI_AUTOSELECT=
CONFIG_B43_PCICORE_AUTOSELECT=
CONFIG_B43LEGACY_PCI_AUTOSELECT=
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=
CONFIG_MEDIA_SUBDRV_AUTOSELECT=
CONFIG_INTEL_SPEED_SELECT_INTERFACE=

If interest are the keys for grep LEGACY or _LEGACY
which, semantically, I would hope to be able to turnoff/disable on
hardware more current than perhaps 3-5 years ago or a KVM or
VirtualBox VM.  Your thoughts and input are appreciated.

Thank you,

On Wed, Feb 22, 2023 at 7:29 PM Randy Dunlap <rdunlap@...radead.org> wrote:
>
> 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