Commit Graph

1208 Commits

Author SHA1 Message Date
3a6768ecb2 Add TDX support for OSDK test 2024-08-13 20:27:21 +08:00
d6925e7c93 Fix a typo 2024-08-13 20:27:21 +08:00
f499f54cf5 Record the original bound name 2024-08-13 19:32:22 +08:00
6b50d28ba1 Remove unnecessary self-connecting check 2024-08-13 19:32:22 +08:00
8bcb5a2a5f Avoid nested locks 2024-08-13 19:32:22 +08:00
5445a26ec5 Fix results of getting UNIX names 2024-08-13 19:32:22 +08:00
98c17a3d1b Add boterinas introduction to Asterinas book 2024-08-13 19:31:13 +08:00
8fdd22de8a Align the buffer size of pipes and UNIX sockets 2024-08-13 19:30:02 +08:00
f9bae1eee9 Fix lmbench-ctx extraction 2024-08-12 22:37:29 +08:00
38b46f7ac3 Prefer Context::get_user_space than CurrentUserSpace::get 2024-08-12 10:38:35 +08:00
8cf7063150 Replace most of the current_thread! usages via Context 2024-08-12 10:38:35 +08:00
9200538175 Replace a myriad of current! usages via Context 2024-08-12 10:38:35 +08:00
f84d328956 Optimize getters of the current process credentials 2024-08-12 10:38:35 +08:00
66a37da214 Allow passing the process Context to syscall handlers 2024-08-12 10:38:35 +08:00
19ad2a2eb4 Remove module-level allowed lints in system call handlers 2024-08-12 10:38:35 +08:00
a739b3828d Use tdx-guest crate VE handler and support release mode for TDX 2024-08-10 11:21:59 +08:00
7527d20d25 Avoid generating Cmp_rm32_imm32 instruction 2024-08-10 11:21:59 +08:00
7b4c13f5d7 Implement MADV_FREE in madvise 2024-08-10 11:14:53 +08:00
75da7fd30e Replace old user space read/write with new APIs 2024-08-09 18:01:01 +08:00
7ade2fcb57 Remove Vmar usage from InitStack 2024-08-09 18:01:01 +08:00
12c60852f1 Modify the logics of setting child thread tid 2024-08-09 18:01:01 +08:00
259b506119 Introduce CurrentUserSpace to provide read/write abilities for user space 2024-08-09 18:01:01 +08:00
8317c4c1e8 Rename "intel_tdx" feature to "cvm_guest" 2024-08-09 17:11:12 +08:00
ca41687a99 Use cfg_if to group tdx cfg block 2024-08-09 17:11:12 +08:00
9bad068215 Update conditional compilation for intel_tdx feature 2024-08-09 17:11:12 +08:00
dc124351d2 Add gvisor pselect test 2024-08-09 15:46:05 +08:00
8b73cc8761 Support sigmask in pselect6 2024-08-09 15:46:05 +08:00
c4e9a0db38 Remove the implementation of MADV_DONTNEED 2024-08-09 14:07:09 +08:00
97fab9edea Prepare aster-time for platform-dependent implementations 2024-08-09 08:53:24 +08:00
acb4833aae Optimize trim_mappings 2024-08-09 00:12:20 +08:00
cd9e5d11d2 Optimize futex implementation 2024-08-08 23:11:58 +08:00
b5f8e4e7bb Fix unnecessary page table activation 2024-08-08 23:11:58 +08:00
8dce83605f Add sys_fallocate 2024-08-08 21:10:38 +08:00
8dc08dccba Add test for new crate with hypen 2024-08-08 19:55:15 +08:00
923ca16d32 Make code more readable 2024-08-08 19:55:15 +08:00
ae63aa699b Fix panic when OSDK creating crate with - in its name 2024-08-08 19:55:15 +08:00
37a9590cfe Refactor ostd::task::processor based on faster CPU-local cells 2024-08-08 19:21:03 +08:00
05564ecd4f Abort on double panics 2024-08-08 19:21:03 +08:00
fe68b4b510 Generalize single instruction CPU local operations by cpu_local_cell 2024-08-08 19:21:03 +08:00
d04111079c Fix the lmbench-exec/shell error when /tmp exists 2024-08-08 16:28:45 +08:00
6414111cc5 Support flag SA_RESETHAND 2024-08-08 15:20:13 +08:00
0e8c5e7f5f Correct the Linux's behavior of lmbench-file-rd 2024-08-08 15:16:05 +08:00
9a299b68f0 Make the behavior of sys_execve be consistent with Linux 2024-08-08 15:08:55 +08:00
b1ea422efa Fix accesses to VirtIO queue DMA 2024-08-06 11:34:15 +08:00
3deff2e842 Implement VmIoOnce for DmaCoherent 2024-08-06 11:34:15 +08:00
cda23937dd Introduce {read,write}_once 2024-08-06 11:34:15 +08:00
79578c9aa0 Use the plural form in # Panic 2024-08-06 11:34:15 +08:00
dee7734073 Fix a missed write_volatile in VmWriter 2024-08-06 11:34:15 +08:00
aa84b31634 Add the description of encoding option to the OSDK document 2024-08-05 15:36:55 +08:00
4d19c710a2 Bump linux-bzimage-builder to 0.2.0 2024-08-05 15:36:55 +08:00