Commit Graph

1217 Commits

Author SHA1 Message Date
LI Qing
a54de67431 Fix the wrong value returned from getcwd
`getcwd` should return the length of buffer filled
2021-07-27 13:05:35 +08:00
LI Qing
fecef8eda6 Add symlink file support for "occlum mount" 2021-07-27 11:38:48 +08:00
Hui, Chunyang
123369d6ce Fix panic for empty file actions 2021-07-26 19:41:54 +08:00
Hui, Chunyang
dc67dfb9aa Re-enable aliyunlinux 3 image as default aliyunlinux image 2021-07-23 14:03:33 +08:00
Hui, Chunyang
5963b70b97 Don't allocate extra memory if already aligned 2021-07-23 13:52:31 +08:00
Hui, Chunyang
3612442adc Fix an error when calculating elf memory usage
VMLayout was mistakenly used to calculate the memory usage. This
commit is to fix this and seperate VMLayout "add" and "extend"
methods.
2021-07-23 13:52:31 +08:00
Hui, Chunyang
f9bafa23a4 Fix uninitialized elf memory for loadable segment 2021-07-23 13:52:31 +08:00
Hui, Chunyang
7d54706a8e Add signal check before sigtimedwait return with timeout 2021-07-22 20:24:35 +08:00
zongmin.gu
6adf171bf7 Bump version to 0.23.4 2021-07-21 21:19:31 +08:00
LI Qing
17e4810d3e Add support for "/proc/[pid]/comm" and fix "/proc/[pid]/cmdline" 2021-07-20 19:56:12 +08:00
Hui, Chunyang
63d2de1043 Add deployment demo 2021-07-20 13:44:34 +08:00
Zheng, Qi
1990196208 Add dcap rust based library and C test program
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-07-20 11:17:09 +08:00
He Sun
ba630d3cae Move the EPID RA demo code to the epid folder
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-07-20 11:17:09 +08:00
Hui, Chunyang
e0811a53d2 Bump version to 0.23.3 2021-07-19 19:08:01 +08:00
Hui, Chunyang
fe74bb91dd Fix deb package building error and add extra checks for version 2021-07-19 19:08:01 +08:00
Shuocheng Wang
3e7fc94ca7 Fix the return value of sched_getaffinity. 2021-07-19 13:23:44 +08:00
ClawSeven
eb07b01ac0 Support timerfd-related syscall 2021-07-16 14:36:27 +08:00
Hui, Chunyang
1e7d258989 Bump version to 0.23.2 2021-07-15 10:03:59 +08:00
Hui, Chunyang
efed79fe3b Use aliyunlinux2 as default image for aliyunlinux
There is some known issue for aliyunlinux3 base image. So change default image
back to aliyunlinux 2.
2021-07-15 10:03:59 +08:00
ClawSeven
3035a0353a Fix python demo warning 2021-07-14 15:04:42 +08:00
LI Qing
1c625f53b8 Remove the cpu online file from image 2021-07-14 11:00:42 +08:00
LI Qing
f2e52941e8 Fix the script of running Python demo 2021-07-13 19:31:28 +08:00
sgui
a889dc9c38 Add support for OpenVINO 2021.3
1.Replace the original TBB with OneTBB v2020.3
2.Replace the 2019_R3 with DLDT 2021.3
3.Add some dependent lib to the occlum image
2021-07-13 15:08:19 +08:00
Hui, Chunyang
04c3f485dc Add aliyunlinux 3 docker image support 2021-07-09 16:00:16 +08:00
Hui, Chunyang
affa17482a Update rust-sgx-sdk to support GCC 10 2021-07-09 16:00:16 +08:00
Zheng, Qi
0799604714 Fix go webserver test cmd error
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-06-30 13:53:20 +08:00
Zheng, Qi
3427c4296d Move curl test to the end to avoid go server not ready
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-06-30 11:30:07 +08:00
Zheng, Qi
33fd585550 Fix hw mode python demo test failure issue
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-06-30 11:30:07 +08:00
Shirong Hao
06cc61a579 Update enclave-tls demo test
Signed-off-by: Shirong Hao <shirong@linux.alibaba.com>
2021-06-29 21:21:35 +08:00
Zheng, Qi
32c32e1128 Fix HW mode unit test build issue
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-06-29 10:18:05 +08:00
LI Qing
1e24dcea6a Modify the protect-integrity tool to print result on file 2021-06-28 21:11:41 +08:00
ClawSeven
d098e65d67 Fix pytorch demo warning 2021-06-26 08:29:11 +08:00
Hui, Chunyang
8cbd2c5123 Fix readme doc for new dcap or in-tree kernel driver
Reference:
[1] f1fcf9175d/psw/urts/linux/edmm_utility.cpp (L89)
[2] https://www.kernel.org/doc/html/v5.11/x86/sgx.html#enclave-build-functions
2021-06-26 08:28:21 +08:00
Hui, Chunyang
6ff50da5be Bump version to 0.23.1 2021-06-25 21:12:42 +08:00
Hui, Chunyang
2217cf83b9 Update Intel SGX SDK version to 2.13.3 2021-06-25 21:12:42 +08:00
Hui, Chunyang
ea7b7b9fcf Fix PyTorch demo CI hang 2021-06-25 21:12:42 +08:00
Hui, Chunyang
09b7828f44 Disable busyloop test case due to signal handling constraints in SIM mode 2021-06-25 21:12:42 +08:00
SteNicholas
6c57834b8a Upgrade the version of Occlum docker image in README.md 2021-06-22 08:04:03 +08:00
LI Qing
fca3871a34 Fix the compiling error caused by sefs-cli 2021-06-18 12:16:57 +08:00
CharleneHu94
b82072a9b6 Add analytics zoo cluster serving demo 2021-06-17 17:14:40 +08:00
Hui, Chunyang
eaf47d1662 Fix aliyunlinux image building and testing error 2021-06-15 15:27:14 +08:00
SteNicholas
fa1196c0ce Update the shell for run flink jobs example 2021-06-11 20:35:37 +08:00
Hui, Chunyang
c4d2d8b802 Add Java processBuilder demo 2021-06-11 16:27:04 +08:00
Hui, Chunyang
41bbb3763d Fix dockerfile error
1. Make "bash" the default shell when building image
2. Add libarchive dependency for centos image
2021-06-11 16:26:30 +08:00
Hui, Chunyang
67b9c8a173 Update docker build actions to manual trigger 2021-06-11 13:14:28 +08:00
zongmin.gu
f961b786da Bump Occlum version to 0.23.0 2021-06-11 07:41:12 +08:00
Hui, Chunyang
c62b6d4091 Add support for execve
RFC: https://github.com/occlum/occlum/issues/429
2021-06-10 20:59:06 +08:00
Hui, Chunyang
bad2581a25 Add dummy implementation of getsockopt for unix domain socket 2021-06-10 20:50:30 +08:00
Hui, Chunyang
0dc85f8229 Add support for indexing unix domain socket file with inode 2021-06-10 20:50:30 +08:00
zongmin.gu
2cedafeacb Add getgroups syscall 2021-06-10 20:14:37 +08:00