[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.20.1704061840090.12226@namei.org>
Date: Thu, 6 Apr 2017 18:44:16 +1000 (AEST)
From: James Morris <jmorris@...ei.org>
To: David Howells <dhowells@...hat.com>
cc: linux-kernel@...r.kernel.org, gnomes@...rguk.ukuu.org.uk,
linux-efi@...r.kernel.org, matthew.garrett@...ula.com,
gregkh@...uxfoundation.org, linux-security-module@...r.kernel.org,
keyrings@...r.kernel.org
Subject: Re: [PATCH 02/24] Add the ability to lock down access to the running
kernel image
On Wed, 5 Apr 2017, David Howells wrote:
> +#include <linux/security.h>
> +#include <linux/export.h>
> +
> +static __read_mostly bool kernel_locked_down;
How about marking this __ro_after_init if ALLOW_LOCKDOWN_LIFT is not
configured?
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists