Hui, Chunyang
73dc43e03f
Ignore AESM status for simulation mode
2021-03-02 16:31:13 +08:00
LI Qing
7deeccb03b
Fix the error of demos with encrypted fs image
2021-03-02 13:25:36 +08:00
LI Qing
c3a02ffc28
Add support for the encrypted fs image
2021-03-01 16:45:01 +08:00
He Sun
cca7910c2f
Add CI support for gVisor syscall test image
2021-01-22 13:22:41 +08:00
Hui, Chunyang
96bfe7eeae
Fix gRPC and OpenVINO CI image demo location
2021-01-20 17:39:05 +08:00
LI Qing
0b51d83811
Add ProcFS
2021-01-20 12:42:00 +08:00
LI Qing
d6cd89f03b
Add DevFS for device files
2021-01-20 11:40:39 +08:00
LI Qing
c27825c436
Add the check for AESM service before run
2021-01-08 13:23:36 +08:00
LI Qing
7c07457d1e
Enhance the check before running an instance
2021-01-08 13:23:36 +08:00
Hui, Chunyang
29ba19c34f
Add version dependencies for rpm and deb packages
2020-12-28 10:15:40 +08:00
Hui, Chunyang
5abfe64960
Rename installer to work with musl-gcc
2020-12-22 08:45:01 +08:00
He Sun
f1e5f574ca
Add support for DCAP
...
1. Five new ioctl commands of /dev/sgx are added for occlum
applications to securely get and verify DCAP quote;
2. Not all the functions of the intel DCAP package are open to
developers to simplify the DCAP usage;
3. The test may only run on the platform with DCAP driver installed;
4. A macro OCCLUM_DISABLE_DCAP is used to separate the DCAP code from
the other code.
5. Skip DCAP test when DCAP driver is not detected or in simulation mode
2020-12-19 19:53:31 +08:00
LI Qing
81c53a7097
Fix the "occlum init" command's failure on CentOS
2020-12-19 19:53:31 +08:00
He Sun
ea1272f69a
Update the lcov source for centos docker image
2020-12-19 19:53:31 +08:00
He Sun
ba48e65428
Install lcov in occlum docker images
...
Lcov will be used for code coverage generation.
2020-12-17 16:42:11 +08:00
LI Qing
22b02850a3
Add Glibc as an optional libc and fix test cases
2020-12-16 19:21:22 +08:00
Hui, Chunyang
ea64939cac
Fix json parse debuggable flag
2020-12-02 13:29:41 +08:00
Hui, Chunyang
9c3f595f0e
Add support for building docker image with specific Occlum branch
2020-11-20 09:24:24 +08:00
zongmin.gu
9504e8f681
Enable optimized string and math lib in Occlum
2020-11-17 14:42:39 +08:00
He Sun
0bb8f5922e
Use sccache to accelerate Rust build
2020-11-05 21:54:57 +08:00
Hui, Chunyang
8d1e1838d3
Fix package build errors
...
1. Fix repeatedly linking dynamic libraries for occlum-run
2. Fix gcc toolchain deb package build error
3. Remove redundant file from installer file list
4. Change symlink target path to relative path
2020-10-22 16:47:47 +08:00
Hui, Chunyang
8fbd6295bf
Add Golang installer
2020-10-14 13:17:58 +08:00
Hui, Chunyang
f4e1352b41
Add Python demo CI
2020-10-13 16:06:02 +08:00
Hui, Chunyang
4269395f1d
Remove python from Occlum commands
2020-10-10 14:59:42 +08:00
Hui, Chunyang
b97f903bf9
Get rid of occlum-gen-default-occlum-json script
...
Integrate it with previous gen_enclave_conf and rename to gen_internal_conf which
are now used generate both internal Occlum.json and Enclave.xml
2020-10-10 14:59:42 +08:00
Hui, Chunyang
1f6fc3d27a
Fix copy softlink for make install and deb installer
2020-09-29 18:06:04 +08:00
Hui, Chunyang
ce147df2c9
Enable TFLite and OpenVINO test for CI and add CI image build action
2020-09-29 16:51:38 +08:00
LI Qing
5e1635e2b8
Change the calling interface with sefs-cli
2020-09-25 16:34:07 +08:00
zongmin.gu
b28aee68b7
Upgrade Intel SGX SDK to 2.11 and Rust SGX SDK accordingly
2020-09-18 15:39:58 +08:00
Hui, Chunyang
668b825ef4
Remove OCCLUM_RELEASE_ENCLAVE env from user commands
...
Also fix a bug for deployment environment.
2020-09-18 12:39:12 +08:00
Hui, Chunyang
bfc0576ee7
Add "occlum package" command
2020-09-18 12:39:12 +08:00
LI Qing
ec9ffed1b0
Add "occlum mount" command to mount the secure FS
2020-09-18 12:39:12 +08:00
He Sun
44583e15be
Add default /etc/hosts during occlum init
2020-09-18 12:39:12 +08:00
Hui, Chunyang
c6d4a34b7f
Modify rpm installer to align with current intallation structure
2020-09-18 12:39:12 +08:00
Hui, Chunyang
1310eb9363
Add DEB installer for Occlum and C/C++ toolchains
2020-09-18 12:39:12 +08:00
Hui, Chunyang
617f75904f
Install occlum needed sgx-sdk tools to occlum dir
...
When installers are used, sgx-sdk of Occlum version could have conflicts with official sgx-sdk.
This patch will make sure Occlum command use Occlum specific sgx-sdk.
Also add symbolic links to PAL library of hardware mode when installing.
2020-09-18 12:39:12 +08:00
LI Qing
a151198d11
Fix the golang demo's failure to run
2020-08-26 10:45:04 +08:00
Tate, Hongliang Tian
ccb5e6bef4
Bump version to 0.15.1
2020-08-21 00:19:57 +08:00
Hui, Chunyang
dcad3ea1d9
Fix make error when image file name has space
2020-08-20 17:01:47 +08:00
Hui, Chunyang
89c292e2df
Fix some dependency errors when running on CentOS 8
2020-08-19 10:40:04 +00:00
He Sun
33e840143a
Add Dockerfile based on CentOS 8.1
2020-08-17 22:28:03 +08:00
Tate, Hongliang Tian
3e3a1955af
Bump version to 0.15.0
2020-08-15 19:19:53 +08:00
Hui, Chunyang
9435b1a196
Add RPM installer for Occlum and C/C++ toolchains
2020-08-15 19:12:40 +08:00
LI Qing
cd5cc0cb5c
Update Java toolchains
...
1. Replace the OpenJDK with an unmodified OpenJDK from Alpine Linux
2. Add Alibaba Dragonwell as the default JDK for the Java demos
2020-08-15 19:12:39 +08:00
Hui, Chunyang
66e5cefec2
Add "occlum new" command
2020-08-15 19:12:39 +08:00
Hui, Chunyang
85501d8993
Improve implementation for occlum build
...
This commit mainly accomplish two things:
1. Use makefile to manage dependencies for `occlum build`, which can save lots of time
2. Take dirs `build`, `run` outside from `.occlum`. Remove env var "OCCLUM_INSTANCE_DIR"
2020-08-15 19:12:39 +08:00
LI Qing
3f6bcec1c5
Substitute ramFS with a temporary SEFS at "/tmp"
2020-08-15 19:12:39 +08:00
Hui, Chunyang
259c485427
Use new build directory arch
2020-08-11 13:47:17 +08:00
Tate, Hongliang Tian
5e8f997d4d
Make PIE the default mode for Go toolchain
...
Occlum-compatible executable binaries must be Position-Independent
Executable (PIE). Previously, to build such binaries, the users need to
explicitly give `-buildmode=pie` flag to `occlum-go`. Apparently, this
is error-prone. This commit sets `-buildmode=pie` by default for `occlum-go`.
In addition, this commit upgrades the Go version to 1.13.7.
2020-08-11 05:35:43 +00:00
LI Qing
572873d9a4
Enable UnionFS
2020-07-23 21:40:34 +08:00