Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14841731ybl; Mon, 30 Dec 2019 18:42:09 -0800 (PST) X-Google-Smtp-Source: APXvYqzaDAgimVJn6XucmXDyleVK6oY93ehwXuoQyMJ57gLT1tg6dVEEAAc61YwKfzLza3HYNKNH X-Received: by 2002:a9d:798e:: with SMTP id h14mr75397356otm.257.1577760129265; Mon, 30 Dec 2019 18:42:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577760129; cv=none; d=google.com; s=arc-20160816; b=HEbtwCZ08hyLWHnGuqR+QNJD/v3GX0HDr6x5pq6wpHveWuQb4hkY4HpQnsTP8DGU6W YlOdxN+sxkaK7ajcnq4PioSGu7pm2CdmMZwTtUB4jrjBH0AWNydLKx9RZ36zc+UbOu/R URmNcmQiREGxLs7tViaDjJRMbwlVPm74Jhjr2jeyIbpToNJHC/SJByaIzlmBmNhV23IS 5L1ruxoDsv/sC4uc7YJnr9CokcDqOUeyNnCjX/Ll1IH/fr4LFlJ9gZp6wXmE0FyKVjwi 845Gycis+bXXED5h/+VXfjVdE/5n3dDtbC8FGEcXU3Sat+sxc5XdzUpB68sc9xafdM0W 0rGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=P6XwGHlweIYB47v9IEVX6/Dpdl/d8j1N9irP8M1dyVU=; b=NWKqW+d/Nivb1oh/JLozUFIHCU8j2j6cG8GiCQfcybEPYeekF4QMkEmseF6ce/UWew IcF7G4bUiKjOnEZiTLDmdtzDXxhzmU0st+65UON7BvBGrLnNG4FYxVH6J9qMG+TIIbpl kTRdaeg1X1eLUIYMOM4rBqAK50K6afYVy7Es00jhEnJOFjvPZEDmN5Tvye7aVYVz7nK6 3APhU457sPME9I8LEidAVMLEcZnA6iSXxzv/vBJsCx3eq+9HFxvcOGOUBm+CFLUPtNWC OjW4qiA9FmZWJD11AZt0zfJPLF9f6lhgPEoI4scSlA+YB3kfY7wBvhp625jx3haEXIcS b4zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i19si13418369oik.272.2019.12.30.18.41.54; Mon, 30 Dec 2019 18:42:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbfLaCk6 (ORCPT + 99 others); Mon, 30 Dec 2019 21:40:58 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:55612 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbfLaCk6 (ORCPT ); Mon, 30 Dec 2019 21:40:58 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1im7So-0001le-HG; Tue, 31 Dec 2019 02:40:54 +0000 Date: Tue, 31 Dec 2019 02:40:54 +0000 From: Al Viro To: Rob Landley Cc: Randy Dunlap , linux-kernel@vger.kernel.org Subject: Re: Why is CONFIG_VT forced on? Message-ID: <20191231024054.GC4203@ZenIV.linux.org.uk> References: <9b79fb95-f20c-f299-f568-0ffb60305f04@landley.net> <018540ef-0327-78dc-ea5c-a43318f1f640@landley.net> <774dfe49-61a0-0144-42b7-c2cbac150687@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <774dfe49-61a0-0144-42b7-c2cbac150687@landley.net> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.