From c35ecea1dc5ed419465782a80f933b66c490c286 Mon Sep 17 00:00:00 2001 From: hustliyilin Date: Fri, 4 Sep 2020 15:54:27 +0800 Subject: [PATCH] rune/libenclave: Supply the missing return value description information for PAL API v2 Signed-off-by: Yilin Li --- rune/libenclave/internal/runtime/pal/spec_v2.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rune/libenclave/internal/runtime/pal/spec_v2.md b/rune/libenclave/internal/runtime/pal/spec_v2.md index d41f6ef..4a3216a 100644 --- a/rune/libenclave/internal/runtime/pal/spec_v2.md +++ b/rune/libenclave/internal/runtime/pal/spec_v2.md @@ -18,7 +18,7 @@ N/A ### Return value ``` -N/A +@int: the PAL API version of the current enclave runtime. ``` ## 2.pal_init() @@ -107,6 +107,13 @@ int pal_exec(struct pal_exec_args *attr); @exit_value: The exit value of the process. ``` +### Return value +``` +0: Success +-EINVAL: Invalid argument +-ENOSYS: The function is not supported +``` + ## 5.pal_kill() ### Description -- GitLab