On Mon, Aug 26, 2019 at 05:11:26PM -0700, Sean Christopherson wrote: > Preserve any existing attributes set via ENCLAVE_SET_ATTRIBUTE when > setting the always allowed attributes during ENCLAVE_CREATE. There is > no requirement that ENCLAVE_SET_ATTRIBUTE can only be called after the > enclave is created. > > Note, this does not fix a race condition between ENCLAVE_CREATE and > ENCLAVE_SET_ATTRIBUTE, as the latter doesn't take encl->lock. This will > be addressed in a future patch. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> Thanks! /Jarkko