Re: [PATCH] BLOCK: Make it possible to disable the block layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>Increasingly, these days, that approach has been failing due to all this
>Aunt Tillie crap. I tried turning off CONFIG_KALLSYMS the other day, but
>it took me a while to work out how. And the increasing use of 'select'
>is even worse.

menuconfig could include a feature which lists a dependency tree on the 
current option, that is, f.ex., hitting 'D' on CONFIG_INET_AH (IP: AH 
transformation) could 
give this screen:


--- Depends ---
[ ] Networking support
    [ ] TCP/IP networking
--- Selects ---
[*] CONFIG_XFRM
[*] Cryptogrpahic API
    --- HMAC support
    <M> MD5 digest algorithm
    <M> SHA1 digest algorithm
--- Selected by ---


And, now let's take a 'D' on CONFIG_CRYPTO_HMAC:

--- Depends ---
[*] Cryptographic API
--- Selects ---
--- Selected by ---
[*] Experimental
[*] Networking support
    [*] TCP/IP Networking
    [*] INET: AH transform
    [*] INET: ESP transform
    [*] INET6: AH transform
    [*] INET6: ESP transform
    [*] SCTP


So you can:
- enable any Depends to make CONFIG_INET_AH available
- see what it selects and cycle between <*> and <M> (if possible)
  for Selected options
- deselect all the Selected Bys to be able to unselect CRYPTO_HMAC
  itself[3]


[3] would be a tough thing because you can select with && and ||, in which 
case it should simply list all the options specified in the Kconfig without 
regard to && and || combinatinos.


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux