Re: [PATCH v36 10/24] mm: Add vm_ops->mprotect()

2020-08-06 Thread Darren Kenny
On Thursday, 2020-07-16 at 16:52:49 +03, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Add vm_ops()->mprotect() for additional constraints for a VMA. > > Intel Software Guard eXtensions (SGX) will use this callback to add two > constraints: > > 1. Verify that the address range does not ha

[PATCH v36 10/24] mm: Add vm_ops->mprotect()

2020-07-16 Thread Jarkko Sakkinen
From: Sean Christopherson Add vm_ops()->mprotect() for additional constraints for a VMA. Intel Software Guard eXtensions (SGX) will use this callback to add two constraints: 1. Verify that the address range does not have holes: each page address must be filled with an enclave page. 2. Verify