Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1428266

Re: [PATCH] compat: remove compat_printk

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] compat: remove compat_printk
Date 2016-06-22 01:50 +0200
Message-ID <rMDAC-42Y-5@gated-at.bofh.it> (permalink)
References <rL2Wt-7ET-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 17 Jun 2016 16:26:21 +0200 Arnd Bergmann <arnd@arndb.de> wrote:

> After 7e8e385aaf6e ("x86/compat: Remove sys32_vm86_warning"), this
> function has become unused, so we can remove it as well.

hm,

> @@ -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?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] compat: remove compat_printk Arnd Bergmann <arnd@arndb.de> - 2016-06-17 16:30 +0200
  Re: [PATCH] compat: remove compat_printk Andrew Morton <akpm@linux-foundation.org> - 2016-06-22 01:50 +0200
    Re: [PATCH] compat: remove compat_printk Arnd Bergmann <arnd@arndb.de> - 2016-06-22 12:20 +0200
      Re: [PATCH] compat: remove compat_printk Andreas Dilger <adilger@dilger.ca> - 2016-06-22 19:10 +0200

csiph-web