Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965405AbeAJE03 (ORCPT + 1 other); Tue, 9 Jan 2018 23:26:29 -0500 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:39278 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965391AbeAJE02 (ORCPT ); Tue, 9 Jan 2018 23:26:28 -0500 Date: Wed, 10 Jan 2018 05:25:51 +0100 From: Willy Tarreau To: Andy Lutomirski Cc: Borislav Petkov , Andy Lutomirski , LKML , X86 ML , Brian Gerst , Dave Hansen , Ingo Molnar , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Josh Poimboeuf , "H. Peter Anvin" , Kees Cook Subject: Re: [RFC PATCH v2 2/6] x86/arch_prctl: add ARCH_GET_NOPTI and ARCH_SET_NOPTI to enable/disable PTI Message-ID: <20180110042551.GA13796@1wt.eu> References: <20180109141713.ngqrf6weyiy2q3in@pd.tnic> <20180109143653.GA12976@1wt.eu> <20180109145157.5ltqbz4o5sqkcggb@pd.tnic> <20180109145422.GD12976@1wt.eu> <20180109212940.ffvqb6wmehmxre4i@pd.tnic> <20180109213227.GA13282@1wt.eu> <20180109214602.k7cuxwikg6xshztu@pd.tnic> <20180109220605.GE13282@1wt.eu> <6072C006-4B57-4657-ABDA-AEE26847A1DA@amacapital.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6072C006-4B57-4657-ABDA-AEE26847A1DA@amacapital.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 09, 2018 at 03:53:54PM -0800, Andy Lutomirski wrote: > Here's another idea: make it a module > To enable it, you do modprobe pti_control allow_privileged_prctl=1. This could be an idea. I know that some people insist on disabling modules because they find this more secure so they won't be able to use this. But after all they have to stand by their choice : either they want maximum security or they want maximum performance. Willy