diff --git a/0054-fix-gen-ecall-header-error.patch b/0054-fix-gen-ecall-header-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..cca49b4cfe4529ebe382cf0ab76da400d4402cf7 --- /dev/null +++ b/0054-fix-gen-ecall-header-error.patch @@ -0,0 +1,25 @@ +From c7e1d5815471a37761ba92b8ed750f2dd789d16e Mon Sep 17 00:00:00 2001 +From: houmingyong +Date: Sat, 17 Dec 2022 18:54:41 +0800 +Subject: [PATCH] fix gen ecall header error + +--- + tools/codegener/Genheader.ml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/codegener/Genheader.ml b/tools/codegener/Genheader.ml +index 0f244f3..24083d6 100644 +--- a/tools/codegener/Genheader.ml ++++ b/tools/codegener/Genheader.ml +@@ -387,7 +387,7 @@ let generate_untrusted_header (ec: enclave_content) = + hfile_start ^ hfile_include; + c_start; + agent_id; +- trust_fproto_com ^ r_proxy ^ r_proxy_sl_async ^ ";"; ++ trust_fproto_com ^ r_proxy ^ ";\n\n" ^ r_proxy_sl_async ^ ";"; + if (List.length ec.ufunc_decls <> 0) then untrust_fproto_com ^ untrust_func ^ ";" + else "/**** There is no untrusted function ****/"; + c_end; +-- +2.27.0 + diff --git a/secGear.spec b/secGear.spec index fda6c74421cba6f1f06375501353bc0288825967..d195aea7ce58d026ccbe342b1c7e1327754c9e66 100644 --- a/secGear.spec +++ b/secGear.spec @@ -1,6 +1,6 @@ Name: secGear Version: 0.1.0 -Release: 29 +Release: 30 Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features @@ -62,6 +62,7 @@ Patch49: 0050-switchless-schedule-policy.patch Patch50: 0051-asynchronous-switchless.patch Patch51: 0052-rollback-to-common-invoking-when-async-invoking-fail.patch Patch52: 0053-asynchronous-switchless-example.patch +Patch53: 0054-fix-gen-ecall-header-error.patch BuildRequires: gcc python automake autoconf libtool BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++ @@ -180,6 +181,9 @@ popd systemctl restart rsyslog %changelog +* Sat Dec 17 2022 zhangguangzhi - 0.1.0-30 +- DESC:fix gen ecall header error + * Thu Nov 17 2022 zhengxiaoxiao - 0.1.0-29 - DESC:replace tar.gz