From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53076 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbeAZQhv (ORCPT ); Fri, 26 Jan 2018 11:37:51 -0500 Date: Fri, 26 Jan 2018 17:37:48 +0100 From: Greg Kroah-Hartman To: Ben Hutchings Cc: Borislav Petkov , Hugh Dickins , stable@vger.kernel.org Subject: Re: [PATCH 4.4] vsyscall: Fix permissions for emulate mode with KAISER/PTI Message-ID: <20180126163748.GB19313@kroah.com> References: <20180126162302.ei4tmiltl73npmr6@xylophone.i.decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180126162302.ei4tmiltl73npmr6@xylophone.i.decadent.org.uk> Sender: stable-owner@vger.kernel.org List-ID: On Fri, Jan 26, 2018 at 04:23:02PM +0000, Ben Hutchings wrote: > The backport of KAISER to 4.4 turned vsyscall emulate mode into native > mode. Add a vsyscall_pgprot variable to hold the correct page > protections, like Borislav and Hugh did for 3.2 and 3.18. > > Cc: Borislav Petkov > Cc: Hugh Dickins > Signed-off-by: Ben Hutchings > --- > I think this is also needed for 4.9 but haven't tested there. Yeah, looks like 4.9 also needs this. Thanks a lot for this, I didn't think to look at the older backports recently. greg k-h