fix gen ecall header error
(cherry picked from commit bc130b8d91340e2687d088bbb6bbae7c44919db9)
This commit is contained in:
parent
0081a5e8ba
commit
bb23488cbf
25
0054-fix-gen-ecall-header-error.patch
Normal file
25
0054-fix-gen-ecall-header-error.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From c7e1d5815471a37761ba92b8ed750f2dd789d16e Mon Sep 17 00:00:00 2001
|
||||||
|
From: houmingyong <houmingyong@huawei.com>
|
||||||
|
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
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: secGear
|
Name: secGear
|
||||||
Version: 0.1.0
|
Version: 0.1.0
|
||||||
Release: 29
|
Release: 30
|
||||||
Summary: secGear is an SDK to develop confidential computing apps based on hardware enclave features
|
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
|
Patch50: 0051-asynchronous-switchless.patch
|
||||||
Patch51: 0052-rollback-to-common-invoking-when-async-invoking-fail.patch
|
Patch51: 0052-rollback-to-common-invoking-when-async-invoking-fail.patch
|
||||||
Patch52: 0053-asynchronous-switchless-example.patch
|
Patch52: 0053-asynchronous-switchless-example.patch
|
||||||
|
Patch53: 0054-fix-gen-ecall-header-error.patch
|
||||||
|
|
||||||
BuildRequires: gcc python automake autoconf libtool
|
BuildRequires: gcc python automake autoconf libtool
|
||||||
BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++
|
BUildRequires: glibc glibc-devel cmake ocaml-dune rpm gcc-c++
|
||||||
@ -180,6 +181,9 @@ popd
|
|||||||
systemctl restart rsyslog
|
systemctl restart rsyslog
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 17 2022 zhangguangzhi <zhangguangzhi3@huawei.com> - 0.1.0-30
|
||||||
|
- DESC:fix gen ecall header error
|
||||||
|
|
||||||
* Thu Nov 17 2022 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-29
|
* Thu Nov 17 2022 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.1.0-29
|
||||||
- DESC:replace tar.gz
|
- DESC:replace tar.gz
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user