[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200625222645.GK20341@linux.intel.com>
Date: Fri, 26 Jun 2020 01:26:45 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Borislav Petkov <bp@...en8.de>
Cc: x86@...nel.org, linux-sgx@...r.kernel.org,
linux-kernel@...r.kernel.org,
Sean Christopherson <sean.j.christopherson@...el.com>,
Jethro Beekman <jethro@...tanix.com>,
akpm@...ux-foundation.org, andriy.shevchenko@...ux.intel.com,
asapek@...gle.com, cedric.xing@...el.com, chenalexchen@...gle.com,
conradparker@...gle.com, cyhanish@...gle.com,
dave.hansen@...el.com, haitao.huang@...el.com,
josh@...htriplett.org, kai.huang@...el.com, kai.svahn@...el.com,
kmoy@...gle.com, ludloff@...gle.com, luto@...nel.org,
nhorman@...hat.com, npmccallum@...hat.com, puiterwijk@...hat.com,
rientjes@...gle.com, tglx@...utronix.de, yaozhangx@...gle.com,
linux-mm@...ck.org
Subject: Re: [PATCH v33 10/21] mm: Introduce vm_ops->may_mprotect()
On Thu, Jun 25, 2020 at 07:14:16PM +0200, Borislav Petkov wrote:
> On Thu, Jun 18, 2020 at 01:08:32AM +0300, Jarkko Sakkinen wrote:
> > From: Sean Christopherson <sean.j.christopherson@...el.com>
> >
> > Add vm_ops()->may_mprotect() to check additional constraints.
> >
> > SGX uses this callback to add two constraints:
> >
> > 1. Verify that the address range does not have holes: for each page
> > address, there is an actual enclave page created.
> > 2. Mapped permissions do not surpass the lowest enclave page permissions
> > in the address range.
> >
> > linux-mm@...ck.org
> > Andrew Morton <akpm@...ux-foundation.org>
>
> Something ate the Cc:s. Lemme add the mm list, akpm is already on Cc.
>
> Leaving in the rest for mm folks.
Thank you. So it seems. I've fixed them now.
/Jarkko
Powered by blists - more mailing lists