Commit Graph

673 Commits

Author SHA1 Message Date
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
wang384670111
3724a06714 modify_comment 2023-09-18 12:42:17 +08:00
Hui, Chunyang
3225a37832 Remove adding process pid when creating multi-vma chunk 2023-08-29 19:23:03 +08:00
Hui, Chunyang
94f9ff7814 Respect alignment when finding free ranges 2023-08-29 19:23:03 +08:00
Hui, Chunyang
56f7ab02a5 [vm] Refine VMA created with inherits_file_from 2023-08-24 19:47:09 +08:00
Hui, Chunyang
1e8584af10 Add capability to get precise free size for userspace 2023-08-15 15:02:24 +08:00
Qi Zheng
b5a32a8d8a Bump version to 0.29.7 2023-08-04 12:45:11 +08:00
ClawSeven
6b11e2ae3d Support fstat for Unix Domain Stream Socket 2023-07-25 16:00:43 +08:00
Shaowei Song
e2f7e6109a [vm] Minor fix in debug asserts in shm 2023-06-26 22:01:55 +08:00
Qi Zheng
52d6a92929 [ocall] Support alternative dcap device nodes 2023-06-26 17:54:16 +08:00
Shaowei Song
56add87c76 [net] Support send/receive control message in unix socket 2023-06-26 14:07:29 +08:00
Shaowei Song
b0de80bd50 [vm] Support shared memory (POSIX) 2023-06-22 15:20:29 +08:00
Hui, Chunyang
e574ab65d3 Fix sgx_tprotect_rsrv_mem failure on EDMM-enabled platform 2023-06-21 16:56:36 +08:00
Zheng, Qi
6048d1fcc1 Bump version to 0.29.6 2023-06-08 09:55:00 +08:00
Hui, Chunyang
0ddb8be317 [poll] Fix panic for non-opened fds 2023-06-05 15:35:47 +08:00
Zheng, Qi
9089764b64 Use sefs mount for generating runtime boot rootfs 2023-05-30 10:16:48 +08:00
Zheng, Qi
d4b762ebe5 [libos] Move runtime boot config to config.rs 2023-05-30 10:16:48 +08:00
Zheng, Qi
ac5d385747 Support passing user's envs for runtime boot case 2023-05-30 10:16:48 +08:00