소스 검색

[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'])