From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Arnd Bergmann To: Andrew Morton Cc: Alexander Viro , Theodore Ts'o , Arnaldo Carvalho de Melo , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] compat: remove compat_printk Date: Wed, 22 Jun 2016 12:15:17 +0200 Message-ID: <32739965.DkybxvdJlf@wuerfel> In-Reply-To: <20160621163857.cf59ebebf39c38d67d71eb80@linux-foundation.org> References: <20160617142903.3070388-1-arnd@arndb.de> <20160621163857.cf59ebebf39c38d67d71eb80@linux-foundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tuesday, June 21, 2016 4:38:57 PM CEST Andrew Morton wrote: > > @@ -1077,15 +1076,6 @@ static struct ctl_table kern_table[] = { > > .extra1 = &neg_one, > > }, > > #endif > > -#ifdef CONFIG_COMPAT > > - { > > - .procname = "compat-log", > > - .data = &compat_log, > > - .maxlen = sizeof (int), > > - .mode = 0644, > > - .proc_handler = proc_dointvec, > > - }, > > -#endif > > How do we know we can simply remove /proc/sys/kernel/compat-log without > breaking any userspace? > Good point. I guess we can leave this in place just in case (with a comment) and just remove the compat_printk function. We could probably have a Kconfig symbol for obsolete sysctl files, but if this is the only one controlled by it, it's probably not worth the effort. Arnd