linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@zeniv.linux.org.uk>
To: Rob Landley <rob@landley.net>
Cc: Randy Dunlap <rdunlap@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: Why is CONFIG_VT forced on?
Date: Tue, 31 Dec 2019 02:52:55 +0000	[thread overview]
Message-ID: <20191231025255.GD4203@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20191231024054.GC4203@ZenIV.linux.org.uk>

On Tue, Dec 31, 2019 at 02:40:54AM +0000, Al Viro wrote:
> On Mon, Dec 30, 2019 at 08:04:35PM -0600, Rob Landley wrote:
> > 
> > 
> > On 12/30/19 7:45 PM, Rob Landley wrote:
> > > On 12/30/19 6:59 PM, Randy Dunlap wrote:
> > >> #
> > >> # Character devices
> > >> #
> > >> CONFIG_TTY=y
> > >> # CONFIG_VT is not set
> > >>
> > >> But first you must set/enable EXPERT.  See the bool prompt.
> > > 
> > > Wait, the if doesn't _disable_ the symbol? It disables _editability_ of the
> > > symbol, but the symbol can still be on (and displayed) when the if is false?
> > > (Why would...)
> > > 
> > > Ok. Thanks for pointing that out. Any idea why the menuconfig help text has no
> > > mention of this?
> > 
> > So if I disable CONFIG_EXPERT, using miniconfig I then need to manually switch on:
> > 
> > ./init/Kconfig:	bool "Namespaces support" if EXPERT
> > ./init/Kconfig:	bool "Multiple users, groups and capabilities support" if EXPERT
> > ./init/Kconfig:	bool "Sysfs syscall support" if EXPERT
> > ./init/Kconfig:	bool "open by fhandle syscalls" if EXPERT
> > ./init/Kconfig:	bool "Posix Clocks & timers" if EXPERT
> > ./init/Kconfig:	bool "Enable support for printk" if EXPERT
> > ./init/Kconfig:	bool "BUG() support" if EXPERT
> > ./init/Kconfig:	bool "Enable ELF core dumps" if EXPERT
> > ./init/Kconfig:	bool "Enable full-sized data structures for core" if EXPERT
> > ./init/Kconfig:	bool "Enable futex support" if EXPERT
> > ./init/Kconfig:	bool "Enable eventpoll support" if EXPERT
> > ./init/Kconfig:	bool "Enable signalfd() system call" if EXPERT
> > ./init/Kconfig:	bool "Enable timerfd() system call" if EXPERT
> > ./init/Kconfig:	bool "Enable eventfd() system call" if EXPERT
> > ./init/Kconfig:	bool "Use full shmem filesystem" if EXPERT
> > ./init/Kconfig:	bool "Enable AIO support" if EXPERT
> > ./init/Kconfig:	bool "Enable IO uring support" if EXPERT
> > ./init/Kconfig:	bool "Enable madvise/fadvise syscalls" if EXPERT
> > ./init/Kconfig:	bool "Enable membarrier() system call" if EXPERT
> > ./init/Kconfig:	bool "Load all symbols for debugging/ksymoops" if EXPERT
> > ./init/Kconfig:	bool "Enable rseq() system call" if EXPERT
> > ./init/Kconfig:	bool "Enabled debugging of rseq() system call" if EXPERT
> > ./init/Kconfig:	bool "PC/104 support" if EXPERT
> > ./init/Kconfig:	bool "Enable VM event counters for /proc/vmstat" if EXPERT
> 
> No.  What you need is
> 	* actually attempt to flip CONFIG_EXPERT (go to "General setup" submenu and
> set "Configure standard kernel features (expert users)" there)
> 	* check the resulting .config (or look at the items in question via
> menuconfig)
> 	* get enlightened
> 
> Rob, if you are in a mood for a long wank, it's your business.  But try to avoid
> spraying the results over public lists.

To elaborate: you are complaining about VT being treated the same way as e.g.
ELF_CORE or UID16.  Which might or might not be reasonable, but kconfig folks
have nothing to do with that.

Your complaint is basically that the same thing is forcing all of those on
in default configs.  Instead of having a separate ROB_WANTS_THOSE that would
prop the rest, but not VT (and frankly, quite a bit of that rest is
questionable for minimal setups).  With ROB_WANTS_THOSE (or equivalent
information) enshrined in the kernel tree for your convenience.

Pardon me, but... why is that anyone else's problem?

  reply	other threads:[~2019-12-31  2:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-31  0:30 Why is CONFIG_VT forced on? Rob Landley
2019-12-31  0:36 ` Randy Dunlap
2019-12-31  0:53   ` Rob Landley
2019-12-31  0:59     ` Randy Dunlap
2019-12-31  1:45       ` Rob Landley
2019-12-31  2:00         ` Randy Dunlap
2019-12-31  2:04         ` Rob Landley
2019-12-31  2:03           ` Randy Dunlap
2019-12-31  2:33             ` Theodore Y. Ts'o
2019-12-31  2:40           ` Al Viro
2019-12-31  2:52             ` Al Viro [this message]
2019-12-31  3:27               ` Rob Landley
2019-12-31  3:53                 ` Al Viro
2019-12-31  4:18                   ` Al Viro
2019-12-31  5:58                     ` Al Viro
2020-01-01 20:41                       ` [PATCH] menuconfig: restore prompt dependencies in help text Arvind Sankar
2020-01-01 21:04                         ` Al Viro
2020-01-01 22:26                           ` Arvind Sankar
2020-01-02 16:14                             ` Randy Dunlap
2020-01-02 23:14                               ` [PATCH] kconfig: " Arvind Sankar
2020-01-03  2:10                                 ` Masahiro Yamada
2020-01-03  4:20                                   ` Arvind Sankar
2019-12-31  1:55 ` Why is CONFIG_VT forced on? Theodore Y. Ts'o
2020-01-04 20:27   ` Enrico Weigelt, metux IT consult
2019-12-31  2:28 ` Al Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191231025255.GD4203@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).