lkml.org 
[lkml]   [2016]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] compat: remove compat_printk
Date
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

\
 
 \ /
  Last update: 2016-06-22 13:01    [W:0.326 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site