Commit Graph

691 Commits

Author SHA1 Message Date
LI Qing
db3a31d42e Fix the chown syscall with negative id 2024-03-15 14:44:26 +08:00
Hui, Chunyang
6eaad69941 Bump version to 0.30.1 2024-03-14 16:23:34 +08:00
ClawSeven
fb013a2bcd [time] Fix wrong SGX_CPUID leaf 2024-03-14 16:23:34 +08:00
Hui, Chunyang
2198d9e395 Add "kernel_heap_monitor" feature 2024-03-14 16:23:34 +08:00
ClawSeven
e48cc13f79 [time] Adapt vdso module to SGX1 platform 2024-03-14 16:23:34 +08:00
ClawSeven
b2f721d1bb [crates] Implement vdso for time precision 2024-03-14 16:23:34 +08:00
ClawSeven
9404da7cf8 [crates] Seperate error module into errno crate 2024-03-14 16:23:34 +08:00
Hui, Chunyang
aae9b6d940 Use special exception register and Replace sgx_tprotect_rsrv_mem with low leve API 2024-03-14 16:23:34 +08:00
Hui, Chunyang
ca4bcbf8fe 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-14 16:23:34 +08:00
ClawSeven
2b1a9b960a [libos] Fix rt_sigaction wrong inargument 2024-03-14 16:23:34 +08:00
ClawSeven
e9f2c09012 [libos] Fix readlinkat with non-positive bufsize 2024-03-14 16:23:34 +08:00
ClawSeven
c2296c13d2 [libos] Fix sendfile with non-writable file 2024-03-14 16:23:34 +08:00
Hui, Chunyang
ee77ee618b Fix permission violation check for mmap and mprotect 2024-03-14 16:23:34 +08:00
Hui, Chunyang
e637ddbdfe Fix mmap file flush exceeding the file length 2024-03-14 16:23:34 +08:00
Hui, Chunyang
bf8d6a65f0 Add AMX and EDMM as feature in Occlum.json 2024-03-14 16:23:34 +08:00
Hui, Chunyang
836513687a Refine log for #UD exception and file open 2024-03-14 16:23:34 +08:00
Hui, Chunyang
ad6cab55f9 Refine log for VM module 2024-03-14 16:23:34 +08:00
ClawSeven
c465e7782a [libos] Fix clock_getres return successfully with wrong clock id 2024-03-14 16:23:34 +08:00
Qi Zheng
b746fea82b [libos] Add iov buffer check for readv and writev
Signed-off-by: Qi Zheng <huaiqing.zq@antgroup.com>
2024-03-14 16:23:34 +08:00
Qi Zheng
dc060c57b4 Update unsupported syscall table 2024-03-14 16:23:34 +08:00
Qi Zheng
beeffcced7 [libos] faccessat only accepts three parameters 2024-03-14 16:23:34 +08:00
ClawSeven
47ac767886 [libos] Lower sigsuspend error log level 2024-03-14 16:23:34 +08:00
Qi Zheng
a7317b0aa9 [libos] Add disable_log cfg option 2024-03-14 16:23:34 +08:00
ClawSeven
065c367b37 [libos] Fix deadlock in signal implementions 2024-03-14 16:23:34 +08:00
ClawSeven
2a801e5fec [test] Implement ut for sigsuspend 2024-03-14 16:23:34 +08:00
ClawSeven
1147e6956f [libos] Implement the rt_sigsuspend syscall 2024-03-14 16:23:34 +08:00
ClawSeven
382bc812f1 [test] Implement unit test for pselect 2024-03-14 16:23:34 +08:00
ClawSeven
56528f67da [libos] Implement Pselect syscall with sigset 2024-03-14 16:23:34 +08:00
Hui, Chunyang
4d2ba8ca01 Refine error level log 2024-03-14 16:23:34 +08:00
Shaowei Song
76edc08233 [config] Add "feature" field to Occlum.json 2024-03-14 16:23:34 +08:00
Shaowei Song
5efc54cb81 [vm] Refine shared chunk expansion 2024-03-14 16:23:34 +08:00
ClawSeven
6c8c8fc871 Reduce error log by downgrading unnecessary error! to warn! 2024-03-14 16:23:34 +08:00
Qi Zheng
3fb86f96c4 [libos] Update cpuid leaf table 2024-03-14 16:23:34 +08:00
LI Qing
a82cfb87f0 Fix the issue about handling the AT_EMPTY_PATH flag 2024-03-14 16:23:34 +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