Tate, Hongliang Tian
01dee44322
Bump version to 0.16.0
2020-09-18 15:40:04 +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
4031216f13
Add timerslack concept for libos and enbale prctl PR_GET_TIMERSLACK option
2020-09-18 12:39:12 +08:00
LI Qing
1a11655169
Fix two bugs related to open directories
...
1. Support O_DIRECTORY flag for open syscall
2. Disallow to open a directory in write mode
2020-09-18 12:39:12 +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
LI Qing
292fc28340
Add "*at()" system calls
...
The syscalls implemented in this submission are as follows:
fchmodat, fchownat, linkat, mkdirat, renameat, readlinkat, unlinkat
2020-09-18 12:39:12 +08:00
He Sun
9c390923a5
Narrow the focus of exec client/server build
...
Only change of the proto file should trigger the build script.
2020-09-18 12:39:12 +08:00
He Sun
83fcd47cd0
Reorganize the header files of pal
2020-09-18 12:39:12 +08:00
He Sun
5d5e8d44ec
Pass host-generated SIGPIPE to libos
...
Socket-related ocalls, e.g, sendto, sendmsg and write, may cause SIGPIPE
in host. Since the ocall is called by libos, this kind of signal should
be handled in libos. We ignore SIGPIPE in host and raise the same signal
in libos if the return value of the above ocalls is EPIPE. In this way
the signal is handled by libos.
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
7b882bd368
Add support for pal library to run libos outside occlum instance
2020-09-18 12:39:12 +08:00
He Sun
e13242e7e5
Add netdevice ioctl command
2020-09-18 12:39:12 +08:00
Hui, Chunyang
5e9a617350
Add build and push docker image workflow
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
He Sun
03ab3b0338
Fix no return value of u_malloc_ocall in sgx_ustdc of Rust SGX SDK
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
2c8c999d52
Speed up the boot procedure of JVM
2020-09-18 12:39:12 +08:00
Zongmin
edd0980dc3
Fix exec mode occlum server crashes issue (if the client unexpected exit)
2020-09-18 12:39:12 +08:00
Hui, Chunyang
75d3e6abb0
Add Occlum deployment guide for Azure AKS
2020-09-11 13:13:13 +08:00
James Dong
124acba6db
Add a sample of Golang gRPC client/server programs
2020-09-02 17:06:09 +08:00
Hui, Chunyang
027e1569e0
Fix tensorflow lite demo eigen download failure
2020-08-28 21:26:48 +08:00
LI Qing
1906865deb
Fix the error about large file
2020-08-28 20:56:31 +08:00
LI Qing
1463fb525a
Fix python demo by enlarging the kernel space heap size
2020-08-26 14:07:31 +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
LI Qing
70d7d10eeb
Add support to mkdir & rmdir in hostfs
2020-08-20 17:03:30 +08:00
LI Qing
7d31cb743c
Add support to read directory in hostfs
2020-08-20 17:03:30 +08:00
Hui, Chunyang
dcad3ea1d9
Fix make error when image file name has space
2020-08-20 17:01:47 +08:00
zongmin.gu
85f5bc7ccc
Fix a potential memory issue in fpregs' free
2020-08-20 17:01:08 +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
duanbing
000cd88756
Get quote size dynamiclly
2020-08-17 01:30:24 +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
zongmin.gu
2ca5629b3d
Save floating point registers in exception/interrupt flow
2020-08-15 19:12:40 +08:00
zongmin.gu
68c8cc100b
Fix the syscall interface bug
2020-08-15 19:12:40 +08:00
He Sun
d3429e15b7
Add guide to configure the resource of Occlum
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
122a66289c
Fix LA demo to align with occlum command
2020-08-15 19:12:39 +08:00
Hui, Chunyang
faf9c9d14e
Add fish script execute permission since SEFS has more strict checking
2020-08-15 19:12:39 +08:00
Hui, Chunyang
7ac917aa1a
Fix PAL library command arguments not follow convention
2020-08-15 19:12:39 +08:00
Hui, Chunyang
153a6fcd61
Fix embedded mode demo can't find libraries
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
0252f0949d
Rename "occlum_context" to "occlum_instance" for demos
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
He Sun
b04aa2d7ea
Fix the dequeuing order of items in a FutexBucket
2020-08-15 19:12:39 +08:00