浏览代码

[Pal/Linux-SGX] pal-sgx-sign: Always output sgx.static_address

Previously, sgx.static_address was not recorded in generated
.manifest.sgx for PIE executables. The value is 0 by default, this
change only makes it explicit.
Jia Zhang 6 年之前
父节点
当前提交
0674d1e9bc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Pal/src/host/Linux-SGX/signer/pal-sgx-sign

+ 1 - 0
Pal/src/host/Linux-SGX/signer/pal-sgx-sign

@@ -855,6 +855,7 @@ def main_sign(args):
     else:
         global enclave_heap_min
         enclave_heap_min = 0
+        manifest['sgx.static_address'] = '0'
 
     # Add manifest at the top
     shutil.copy2(args['manifest'], args['output'])