未验证 提交 b2acc407 编写于 作者: T Tianjia Zhang 提交者: GitHub

rune/libcontainer: Compatible with runc if PAL path not configured

If rune is used as runc, PAL path will not be specified, runc logic
should be followed.
Signed-off-by: NTianjia Zhang <tianjia.zhang@linux.alibaba.com>
上级 af3b579d
......@@ -54,7 +54,7 @@ int load_enclave_runtime(void)
file = getenv("_LIBCONTAINER_PAL_PATH");
if (file == NULL || *file == '\0') {
write_log(DEBUG, "invalid environment _LIBCONTAINER_PAL_PATH");
return -EINVAL;
return 0;
}
write_log(DEBUG, "_LIBCONTAINER_PAL_PATH = %s", file);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册