Updates for SGX 2.20 reproducible build.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
This commit is contained in:
Zhang Lili
2023-07-21 11:09:05 +08:00
parent cf62e6557c
commit 20bed6e2bb
685 changed files with 17835 additions and 17339 deletions
@@ -23,6 +23,6 @@
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
<MiscSelect>1</MiscSelect>
<MiscMask>0xFFFFFFFE</MiscMask>
</EnclaveConfiguration>
@@ -20,6 +20,6 @@
<TCSPolicy>1</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
<MiscSelect>1</MiscSelect>
<MiscMask>0xFFFFFFFE</MiscMask>
</EnclaveConfiguration>
@@ -22,6 +22,6 @@
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
<MiscSelect>1</MiscSelect>
<MiscMask>0xFFFFFFFE</MiscMask>
</EnclaveConfiguration>
@@ -18,6 +18,6 @@
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
<MiscSelect>1</MiscSelect>
<MiscMask>0xFFFFFFFE</MiscMask>
</EnclaveConfiguration>
+14 -4
View File
@@ -81,10 +81,20 @@ HeapMaxSize, HeapInitSize, HeapMinSize
-------------------------------------------------
Sample configuration files for the Sample Enclave
-------------------------------------------------
config.01.xml: There is no dynamic thread, no dynamic heap expansion.
config.02.xml: There is no dynamic thread. But dynamic heap expansion can happen.
config.03.xml: There are dynamic threads. For a dynamic thread, there's no stack expansion.
config.04.xml: There are dynamic threads. For a dynamic thread, stack will expanded as necessary.
Below configurations are applicable on EDMM supported platforms with either EDMM supported
kernels or EDMM unsupported kernels. If the signed enclave is launched on an EDMM supported
platform with an EDMM supported kernel, it will be loaded with EDMM enabled. The following
configuration descriptions are only suitable for the case that the signed enclave is
launched on an EDMM supported platform with an EDMM supported kernel:
config.01.xml: There is no dynamic thread, no dynamic heap expansion.
config.02.xml: There is no dynamic thread. But dynamic heap expansion can happen.
config.03.xml: There are dynamic threads. For a dynamic thread, there's no stack expansion.
config.04.xml: There are dynamic threads. For a dynamic thread, stack will expanded as necessary.
Below configuration is only workable on EDMM supported platforms with EDMM supported kernels:
config.05.xml: There is a user region where users could operate on.
-------------------------------------------------
Launch token initialization