[PATCH V4 15/31] x86/sgx: Support restricting of enclave page permissions