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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2375c9f91003180231n85501e2u951e6d8bbffce5d3@mail.gmail.com>
Date:	Thu, 18 Mar 2010 17:31:33 +0800
From:	Américo Wang <xiyou.wangcong@...il.com>
To:	Jan Engelhardt <jengelh@...ozas.de>
Cc:	Michal Marek <mmarek@...e.cz>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: kconfig: report select on a depending option

On Thu, Mar 18, 2010 at 5:21 PM, Jan Engelhardt <jengelh@...ozas.de> wrote:
> Hi,
>
>
> With the following combination of Kconfig config options, I can select
> TEST_Z, which will select TEST_X, even if TEST_Y=n. It also allows for
> awkward situations like TEST_Y=M, TEST_X=y, TEST_Z=y, which would yield
> a link time error when X uses Y's symbols.
> Is there a way to have such potential errors reported with kconfig?
>
> config TEST_Y
>        tristate "Y"
>
> config TEST_X
>        depends on Y
>        tristate "X"
>
> config TEST_Z
>        select TEST_Y

You mean "select TEST_X" here, right?

>        tristate "Z"
>

I think you should use "depends on X" instead of "select X".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ