Commit Graph

690 Commits

Author SHA1 Message Date
Hui, Chunyang
ffe6a750b0 Bump version to 0.30.1
Some checks are pending
SGX Hardware Mode Test / Sqlite_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Sqlite_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Python_musl_support_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Python_musl_support_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Openvino_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Openvino_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Grpc_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Grpc_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Gvisor_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_grpc ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Gvisor_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Test_deb_deploy ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Tensorflow_serving_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Tensorflow_serving_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Remote_attestation_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Remote_attestation_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_grpc ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_AECS ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Init_RA_AECS ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / MySQL_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / MySQL_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Netty_UT_test ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Netty_UT_test ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_musl ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_musl ([self-hosted SGX2-HW]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_glibc ([self-hosted SGX2-HW EDMM]) (push) Waiting to run
SGX Hardware Mode Test / Stress_test_with_glibc ([self-hosted SGX2-HW]) (push) Waiting to run
Essential Test / Make_test_on_ubuntu (push) Waiting to run
Rune Test / Rune_test (ubuntu18.04) (push) Waiting to run
Rune Test / Rune_test (centos8.2) (push) Waiting to run
2024-03-06 17:45:10 +08:00
ClawSeven
f8e8d400d3 [time] Fix wrong SGX_CPUID leaf 2024-03-06 17:44:30 +08:00
Hui, Chunyang
3b90df67dc Add "kernel_heap_monitor" feature 2024-03-06 17:44:30 +08:00
ClawSeven
d3e84d2269 [time] Adapt vdso module to SGX1 platform 2024-03-06 17:44:30 +08:00
ClawSeven
501abda5ca [crates] Implement vdso for time precision 2024-03-06 17:44:30 +08:00
ClawSeven
5b704984e3 [crates] Seperate error module into errno crate 2024-03-06 17:44:30 +08:00
Hui, Chunyang
ca930d19b2 Use special exception register and Replace sgx_tprotect_rsrv_mem with low leve API 2024-03-06 15:59:26 +08:00
Hui, Chunyang
6930e606ef Use low level API to replace sgx_mm_(commit/commit_data/modify_permissions)
Reduce the EMA management overhead and the global lock of emm module of
Intel SGX SDK
2024-03-06 15:59:26 +08:00
ClawSeven
d7131a1a5b [libos] Fix rt_sigaction wrong inargument 2024-03-06 15:59:26 +08:00
ClawSeven
32b94f1dd9 [libos] Fix readlinkat with non-positive bufsize 2024-03-06 15:59:26 +08:00
ClawSeven
addb5c61f4 [libos] Fix sendfile with non-writable file 2024-03-06 15:59:26 +08:00
Hui, Chunyang
d416c8b1d1 Fix permission violation check for mmap and mprotect 2024-03-06 15:59:26 +08:00
Hui, Chunyang
a99c63e21d Fix mmap file flush exceeding the file length 2024-03-06 15:59:26 +08:00
Hui, Chunyang
1e8c5a6d0a Add AMX and EDMM as feature in Occlum.json 2024-03-06 15:59:26 +08:00
Hui, Chunyang
879cfa58a5 Refine log for #UD exception and file open 2024-03-06 15:59:26 +08:00
Hui, Chunyang
c2db186854 Refine log for VM module 2024-03-06 15:59:26 +08:00
ClawSeven
32c7cc44f1 [libos] Fix clock_getres return successfully with wrong clock id 2024-03-06 15:59:26 +08:00
Qi Zheng
9b6cb4d27f [libos] Add iov buffer check for readv and writev
Signed-off-by: Qi Zheng <huaiqing.zq@antgroup.com>
2024-03-06 15:59:26 +08:00
Qi Zheng
d4de8f59e6 Update unsupported syscall table 2024-03-06 15:59:26 +08:00
Qi Zheng
4c7274efbe [libos] faccessat only accepts three parameters 2024-03-06 15:59:26 +08:00
ClawSeven
37ce7b5432 [libos] Lower sigsuspend error log level 2024-03-06 15:59:26 +08:00
Qi Zheng
75b5f84ec6 [libos] Add disable_log cfg option 2024-03-06 15:59:26 +08:00
ClawSeven
5d3799fcb8 [libos] Fix deadlock in signal implementions 2024-03-06 15:59:26 +08:00
ClawSeven
e96a1348e5 [test] Implement ut for sigsuspend 2024-03-06 15:59:26 +08:00
ClawSeven
219fdd4e26 [libos] Implement the rt_sigsuspend syscall 2024-03-06 15:59:26 +08:00
ClawSeven
d6741c0096 [test] Implement unit test for pselect 2024-03-06 15:59:26 +08:00
ClawSeven
d27f0d5cd0 [libos] Implement Pselect syscall with sigset 2024-03-06 15:59:26 +08:00
Hui, Chunyang
976135b79c Refine error level log 2024-03-06 15:59:26 +08:00
Shaowei Song
9ed1778866 [config] Add "feature" field to Occlum.json 2024-03-06 15:59:26 +08:00
Shaowei Song
707c4669d5 [vm] Refine shared chunk expansion 2024-03-06 15:59:26 +08:00
ClawSeven
b1039a6054 Reduce error log by downgrading unnecessary error! to warn! 2024-03-06 15:59:26 +08:00
Qi Zheng
b93b8412dc [libos] Update cpuid leaf table 2024-03-06 15:59:26 +08:00
LI Qing
b749b7db3b Fix the issue about handling the AT_EMPTY_PATH flag 2024-03-06 15:59:26 +08:00
Hui, Chunyang
9ee0a0ae73 Refine replace_mem_chunks to lock once 2023-12-23 21:08:17 +08:00
Hui, Chunyang
b16c399709 Bump version to 0.30.0 2023-11-07 09:26:20 +08:00
Hui, Chunyang
587f4debb3 Refine context switch for exception/signal handling 2023-11-07 09:26:20 +08:00
Hui, Chunyang
3c481d1297 Add support for AMX 2023-11-07 09:26:20 +08:00
Hui, Chunyang
f280a9c382 Re-enable PKU support
Also add a testcase for PKU support
2023-11-07 09:26:20 +08:00
Hui, Chunyang
50e4653e12 Refine System-V shared memory 2023-11-07 09:26:20 +08:00
Hui, Chunyang
d49b3af0aa Add EDMM support for Legacy Occlum 2023-11-07 09:26:20 +08:00
Hui, Chunyang
28c29c8896 Add new fields for config file to enable EDMM 2023-11-07 09:26:20 +08:00
Hui, Chunyang
cb75897085 Refine log output for demo test CI 2023-11-07 09:26:20 +08:00
Hui, Chunyang
ffe532f2f5 Update rust-sgx-sdk and rust toolchains 2023-11-07 09:26:20 +08:00
Hui, Chunyang
c26830a820 Add searching always for chunks after getting global lock 2023-10-28 16:31:06 +08:00
Hui, Chunyang
8759a57902 Fix concurrent mprotect/munmap causing conflict chunk and vma 2023-10-27 12:47:05 +08:00
ClawSeven
99c1f92ddf Implement untrusted IO buffer for each thread 2023-10-19 17:30:04 +08:00
ClawSeven
7e0633116c Improve network performance by reducing ocalls 2023-10-13 10:17:27 +08:00
Qi Zheng
ceb4a9871a [libos] uname machine should return x86_64 2023-10-08 19:26:48 +08:00
Shaowei Song
2e608cdf47 [vm] Avoid early munmap of shm 2023-09-21 10:11:27 +08:00
Qi Zheng
ad317e61f6 [exec] Increase sighandle stack size 2023-09-20 17:13:46 +08:00