Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865AbdDFWqF (ORCPT ); Thu, 6 Apr 2017 18:46:05 -0400 Received: from namei.org ([65.99.196.166]:52551 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752331AbdDFWp6 (ORCPT ); Thu, 6 Apr 2017 18:45:58 -0400 Date: Fri, 7 Apr 2017 08:45:52 +1000 (AEST) From: James Morris To: David Howells cc: ard.biesheuvel@linaro.org, matthew.garrett@nebula.com, linux-security-module@vger.kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] Add the ability to lock down access to the running kernel image In-Reply-To: <149148301242.3427.10901430670266893587.stgit@warthog.procyon.org.uk> Message-ID: References: <149148299794.3427.549144000807596903.stgit@warthog.procyon.org.uk> <149148301242.3427.10901430670266893587.stgit@warthog.procyon.org.uk> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 531 Lines: 15 On Thu, 6 Apr 2017, David Howells wrote: > Provide a single call to allow kernel code to determine whether the system > should be locked down, thereby disallowing various accesses that might > allow the running kernel image to be changed including the loading of > modules that aren't validly signed with a key we recognise, fiddling with > MSR registers and disallowing hibernation, > > Signed-off-by: David Howells Acked-by: James Morris -- James Morris