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: <ccf6053c60954cbc83a5e2432f25d094@ausx13mpc120.AMER.DELL.COM>
Date:   Fri, 6 Oct 2017 16:47:29 +0000
From:   <Mario.Limonciello@...l.com>
To:     <dvhart@...radead.org>
CC:     <andy.shevchenko@...il.com>, <linux-kernel@...r.kernel.org>,
        <platform-driver-x86@...r.kernel.org>, <luto@...nel.org>,
        <quasisec@...gle.com>, <pali.rohar@...il.com>, <rjw@...ysocki.net>,
        <mjg59@...gle.com>, <hch@....de>, <greg@...ah.com>
Subject: RE: [PATCH v4 11/14] platform/x86: dell-smbios-wmi: Add new WMI
 dispatcher driver

> -----Original Message-----
> From: Darren Hart [mailto:dvhart@...radead.org]
> Sent: Friday, October 6, 2017 11:45 AM
> To: Limonciello, Mario <Mario_Limonciello@...l.com>
> Cc: andy.shevchenko@...il.com; linux-kernel@...r.kernel.org; platform-
> driver-x86@...r.kernel.org; luto@...nel.org; quasisec@...gle.com;
> pali.rohar@...il.com; rjw@...ysocki.net; mjg59@...gle.com; hch@....de;
> greg@...ah.com
> Subject: Re: [PATCH v4 11/14] platform/x86: dell-smbios-wmi: Add new WMI
> dispatcher driver
> 
> On Thu, Oct 05, 2017 at 07:47:38PM +0000, Mario.Limonciello@...l.com wrote:
> > > -----Original Message-----
> > > From: Darren Hart [mailto:dvhart@...radead.org]
> > > Sent: Thursday, October 5, 2017 12:58 PM
> > > To: Limonciello, Mario <Mario_Limonciello@...l.com>
> > > Cc: andy.shevchenko@...il.com; linux-kernel@...r.kernel.org; platform-
> > > driver-x86@...r.kernel.org; luto@...nel.org; quasisec@...gle.com;
> > > pali.rohar@...il.com; rjw@...ysocki.net; mjg59@...gle.com; hch@....de;
> > > greg@...ah.com
> > > Subject: Re: [PATCH v4 11/14] platform/x86: dell-smbios-wmi: Add new WMI
> > > dispatcher driver
> > >
> > > On Thu, Oct 05, 2017 at 03:12:46PM +0000, Mario.Limonciello@...l.com
> wrote:
> > >
> > > > > > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> > > > > > index f0b97cb8e449..ef597f440d2e 100644
> > > > > > --- a/drivers/platform/x86/Kconfig
> > > > > > +++ b/drivers/platform/x86/Kconfig
> > > > > > @@ -93,13 +93,27 @@ config ASUS_LAPTOP
> > > > > >
> > > > > >  config DELL_SMBIOS
> > > > > >  	tristate "Dell SMBIOS calling interface"
> > > > > > -	depends on DELL_SMBIOS_SMM
> > > > > > +	depends on DELL_SMBIOS_WMI || DELL_SMBIOS_SMM
> > > > > >  	---help---
> > > > > >  	This module provides common functions for kernel modules
> using
> > > > > >  	Dell SMBIOS.
> > > > >
> > > > > You use select DELL_SMBIOS below, which implies this modules should be
> > > > > invisible. Indeed, there is no need for the user to see the DELL_SMBIOS
> > > > > option at all now, they can select DELL_SMBIOS_WMI and or
> > > > > DELL_SMBIOS_SMM, no need to keep the DELL_SMBIOS option.
> > > > >
> > > > So when you say make invisible, does that mean that it should never show
> > > > up in make menuconfig and just be implicitly selected?
> > >
> > > Right. It shouldn't have a prompt.
> > >
> > > >
> > > > When I was adjusting Kconfig for your other feedback I noticed setting
> > > something
> > > > to "select $DRIVER" that invisible driver does show up just can't be turned
> off.
> > > > Is that what you mean?
> > >
> > > No, I mean eliminate the menu entry by eliminating the prompt.
> > Do you have an example of a driver that does it this way?
> > When I tried, CONFIG_DELL_WMI_DESCRIPTOR doesn't get saved to .config
> > and then doesn't compile into a module anymore.
> 
> Just eliminating the prompt will hide DELL_SMBIOS from menuconfig:
> 
> config DELL_SMBIOS
> 	tristate
> 	depends on DELL_SMBIOS_WMI || DELL_SMBIOS_SMM
> 
> --
> Darren Hart
> VMware Open Source Technology Center

Ohhh.  I didn't know that's what you meant by prompt.  Thanks for
clarifying.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ