Commit Graph

947 Commits

Author SHA1 Message Date
zongmin.gu
60f32c386a Update SEFS with Rust toolchain 20211101 2021-12-14 10:58:09 +08:00
zongmin.gu
101256bf1e Update Rust SGX SDK to enable rust-toolchain nightly-2021-11-01 2021-12-14 10:58:09 +08:00
zongmin.gu
e2eb294c2e Fix the bash demo by increasing the stack size 2021-12-14 10:58:09 +08:00
zongmin.gu
c58f61c56e Enable simulation interrupt mode support 2021-12-14 10:58:09 +08:00
Zheng, Qi
e8458bd27c Enlarge kernel heap size for ltp demo 2021-12-07 09:48:46 +08:00
zongmin.gu
6cff4bc30c Bump to 0.26.1 2021-12-06 19:19:53 +08:00
zongmin.gu
e8f262808b Fix Occlum building warnings 2021-12-06 19:19:53 +08:00
zongmin.gu
39f268891e Update the docker file for SGX SDK 2.15.1 2021-12-06 19:19:53 +08:00
zongmin.gu
8fbb9b4796 Update SGX SDK 2.15.1 2021-12-06 19:19:53 +08:00
Zheng, Qi
a26a7627fe Update dcap demo to support dumping SGX KSS info
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 15:46:34 +08:00
Zheng, Qi
7db9d9b955 Add SGX KSS support
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 15:46:34 +08:00
Zheng, Qi
8cb08aac29 Update sofaboot demo with openjdk 8 option
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 13:47:27 +08:00
Zheng, Qi
6d9d165a95 Add openjdk 8 bom yaml template 2021-12-06 13:47:27 +08:00
Zheng, Qi
d21bcf245e Install openjdk 8 to occlum toolchain 2021-12-06 13:47:27 +08:00
LI Qing
e75c10ba79 Add the mount test case in make test 2021-12-02 16:24:15 +08:00
zongmin.gu
a428ea3409 Bump to 0.26.0 2021-11-29 18:42:15 +08:00
LI Qing
7bc2c336b6 Add mount and umount syscall 2021-11-29 15:11:37 +08:00
zongmin.gu
36918e42bf Check the buffer address before copy the data from the buffer
This commit fixed an Occlum security issue. The researchers from KU
Leuven (Belgium) and the University of Birmingham (UK) found it and
reported it to Occlum team. Thank you, Jo Van Bulck, Frank Piessens,
Fritz Alder, David Oswald, Jesse Spielman and Sam Thomas.
2021-11-29 14:14:54 +08:00
Zheng, Qi
580a981ee3 Extract hw mode action common steps to composite_action/hw/ 2021-11-26 17:17:25 +08:00
Zheng, Qi
4373af1cdc Use github.job as the name of the created container 2021-11-26 17:17:25 +08:00
Zheng, Qi
9746cea472 Move sim mode common action to composite_action/sim/ 2021-11-26 17:17:25 +08:00
liuwen
a0eac55b24 add gvisor syscall test for code coverage 2021-11-26 15:40:58 +08:00
Zheng, Qi
3e6323e2a0 Add sysbench demo to github action 2021-11-25 11:40:07 +08:00
Zheng, Qi
94ce37bb9f Add sysbench demo case 2021-11-25 11:40:07 +08:00
LI Qing
fc7ba98ded Add ppoll 2021-11-24 16:52:25 +08:00
LI Qing
b61188889d Update mountfs 2021-11-24 10:50:45 +08:00
Zheng, Qi
821ea843ae Create composite action for occlum container run and src build/install 2021-11-09 09:57:43 +08:00
Hui, Chunyang
17e86e87d0 Fix building CI image for TF serving and Openvino 2021-11-08 19:15:00 +08:00
Hui, Chunyang
edaf2374b0 Support building CI image for different branches 2021-11-08 19:15:00 +08:00
zongmin.gu
a01b35ff5e Bump version to 0.25.0 2021-11-08 19:15:00 +08:00
Hui, Chunyang
56569e2b8e Fix running user application with too many arguments
Also fix the VM drop process when creating process failure
2021-11-08 11:30:36 +08:00
Hui, Chunyang
fa69b3d0d1 Try reduce vma count on host to prevent panic because of too much mprotect 2021-11-08 11:29:42 +08:00
Zheng, Qi
4f23cca048 Enable OCCLUM_LOG_LEVEL=trace for code coverage test
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-04 13:05:47 +08:00
Zheng, Qi
6b8f24c18b Fix timing issue in test_sendmsg_recvmsg_connectionless
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 20:33:22 +08:00
Zheng, Qi
28baa5b080 Make sure replacing ':' with '\:' in Makefile targets
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 14:54:27 +08:00
Zheng, Qi
5c59006d71 Add Linux LTP test for codcov
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 14:54:27 +08:00
Zheng, Qi
4991aaa516 Update ltp demo with verified syscalls test cases
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 14:54:27 +08:00
Zheng, Qi
e24a9944e3 Make sure bash is built as PIE
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-03 08:12:42 +08:00
Zheng, Qi
774ea33d9a Update bash and fish demo with prebuilt busybox
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-11-01 12:43:45 +08:00
Hui, Chunyang
d9845235d3 Fix the error code and return logic for mmap failure 2021-10-26 17:51:52 +08:00
LI Qing
9f763f84b1 Add the check of pathname in rename syscall 2021-10-22 18:01:25 +08:00
Zheng, Qi
1eb58a5eb3 Add new_fd range check for dup2/dup3
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:50:48 +08:00
Zheng, Qi
3c9e172550 Add RLIMIT_RTTIME to make it compatibale with latest Linux kernel
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:50:48 +08:00
Zheng, Qi
a16ba58b31 Set default RLIMIT_NOFILE to 1024
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:50:48 +08:00
Zheng, Qi
4354148ecf Add linux ltp demo
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
zongmin.gu
59986df1a5 Bump version to 0.24.2 2021-10-22 17:16:52 +08:00
zongmin.gu
b4d89f6c77 Update CentOS base image 2021-10-22 17:16:52 +08:00
Shuocheng Wang
25006ee673 Add clang dependency to docker file 2021-10-22 17:16:52 +08:00
Zheng, Qi
a825499d47 Update busybox to support new glibc (>2.31)
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 17:16:52 +08:00
Zheng, Qi
e2d2cb375c Increase the pytorch demo TCS number to 64
Also increase ready check delay time to 360s

Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-10-22 16:42:48 +08:00