[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d1eea17-6279-878a-e52a-2a9e9c8452f8@intel.com>
Date: Fri, 3 Dec 2021 10:49:44 -0800
From: Reinette Chatre <reinette.chatre@...el.com>
To: Dave Hansen <dave.hansen@...el.com>, <dave.hansen@...ux.intel.com>,
<jarkko@...nel.org>, <tglx@...utronix.de>, <bp@...en8.de>,
<luto@...nel.org>, <mingo@...hat.com>, <linux-sgx@...r.kernel.org>,
<x86@...nel.org>
CC: <seanjc@...gle.com>, <kai.huang@...el.com>,
<cathy.zhang@...el.com>, <cedric.xing@...el.com>,
<haitao.huang@...el.com>, <mark.shanahan@...el.com>,
<hpa@...or.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 10/25] x86/sgx: Support enclave page permission changes
Hi Dave,
On 12/3/2021 10:14 AM, Dave Hansen wrote:
> On 12/1/21 11:23 AM, Reinette Chatre wrote:
>> Enclave page permission changes need to be approached with care and
>> for this reason this initial support is to allow enclave page
>> permission changes _only_ if the new permissions are the same or
>> more restrictive that the permissions originally vetted at the time the
>> pages were added to the enclave. Support for extending enclave page
>> permissions beyond what was originally vetted is deferred.
>
> It's probably worth adding a few examples here:
>
> * RWX => RW => RX => RW => R => RWX
> * RW => R => RW
> * RX => R => RX
>
Indeed - that would make the implications of this change clear.
Will do. Thank you very much.
Reinette
Powered by blists - more mailing lists