[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110512.170845.1074260586094306244.davem@davemloft.net>
Date: Thu, 12 May 2011 17:08:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mingo@...e.hu
Cc: torvalds@...ux-foundation.org, eranian@...gle.com, acme@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vsprintf: Turn kptr_restrict off by default
From: Ingo Molnar <mingo@...e.hu>
Date: Thu, 12 May 2011 23:00:28 +0200
> Subject: vsprintf: Turn kptr_restrict off by default
>
> kptr_restrict has been triggering bugs in apps such as perf, and it also makes
> the system less useful by default, so turn it off by default.
>
> This is how we generally handle security features that remove functionality,
> such as firewall code or SELinux - they have to be configured and activated
> from user-space.
>
> Distributions can turn kptr_restrict on again via this line in
> /etc/sysctrl.conf:
>
> kernel.kptr_restrict = 1
>
> ( Also mark the variable __read_mostly while at it, as it's typically modified
> only once per bootup, or not at all. )
>
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists