Commit Graph

2235 Commits

Author SHA1 Message Date
Shaowei Song 764e3afa7c Add a simple test case for OverlayFS 2025-04-24 20:07:06 +08:00
Shaowei Song f38f476c3b Add support for mounting OverlayFS 2025-04-24 20:07:06 +08:00
Shaowei Song 914237e9ca Add basic OverlayFS implementation 2025-04-24 20:07:06 +08:00
Fabing Li 63831dc2df Add ktest cases 2025-04-24 20:03:54 +08:00
Fabing Li 79b0866259 Add sysfs implementation 2025-04-24 20:03:54 +08:00
Zhenchen Wang 3a5f270ee9 Made some minor improvements to syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
Zhenchen Wang 9e729593e8 Add syscall faccessat2
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
Ruihan Li 17e5108c17 Add regression tests 2025-04-23 20:37:40 +08:00
Ruihan Li 26253829bb Use `datagram_common` in netlink 2025-04-23 20:37:40 +08:00
Ruihan Li c9f939bcc4 Create `datagram_common` and use it in UDP 2025-04-23 20:37:40 +08:00
Ruihan Li 96e62b8fa5 Reorder socket locks 2025-04-23 20:37:40 +08:00
jiangjianfeng 961ad73847 Poll the correct iface in irq handler 2025-04-23 00:32:37 +08:00
Ruihan Li bf4950965b Adjust `unsafe` blocks in `syscall.rs` 2025-04-22 20:52:15 +08:00
Ruihan Li c9a7d501b2 Rewrite `trap/idt.rs` 2025-04-22 20:52:15 +08:00
Ruihan Li 8c30b4b942 Rewrite `trap/gdt.rs` 2025-04-22 20:52:15 +08:00
Ruihan Li e06509e380 Make some `unsafe` blocks shorter 2025-04-22 20:52:15 +08:00
jiangjianfeng 13287c752e Make TDX accept the same virtio-net parameters as the normal setting 2025-04-21 12:17:10 +08:00
Fabing Li e9c85ff158 Only pack benchmark utils while running benchmarks 2025-04-21 11:22:46 +08:00
jiangjianfeng 8815ca384f Add syscall ppoll 2025-04-21 11:19:48 +08:00
Chen Chengjun 1fe0fef410 Add ktests for the XArray 2025-04-19 16:48:15 +08:00
Chen Chengjun c3dd607777 Introduce RCU-based XArray 2025-04-19 16:48:15 +08:00
Fabing Li 6c0827b681 Add ktest cases for vmspace 2025-04-19 14:00:21 +08:00
Fabing Li 52e0776591 Add more page table cases 2025-04-19 13:59:43 +08:00
Ruihan Li 81b79dacc6 Remove `read*_to_end` methods 2025-04-18 14:17:37 +08:00
Zejun Zhao 1c881d30f6 Add RISC-V build CI 2025-04-18 13:26:16 +08:00
Zejun Zhao 3aa1079ca6 Clarify the usage of ostd::arch 2025-04-18 13:26:16 +08:00
Zejun Zhao 4baff8e17b Fallback to BIOS when using legacy boot protocols 2025-04-18 13:26:16 +08:00
Zejun Zhao 5630fa8b36 Disable RISC-V FPU by default 2025-04-18 13:26:16 +08:00
Zejun Zhao 14b8c48859 Adjust RISC-V's implementation for recent changes 2025-04-18 13:26:16 +08:00
Zejun Zhao b097060c5e Clean up RISC-V-specific boot code 2025-04-18 13:26:16 +08:00
Zejun Zhao d39ab61d68 Remove unnecessary usage of cfg_if macro 2025-04-18 13:26:16 +08:00
Zejun Zhao 47ee012e6b Make IoPort x86-specific 2025-04-18 13:26:16 +08:00
Zejun Zhao e4aa261c48 Make if_tdx_enabled macro x86-specific 2025-04-18 13:26:16 +08:00
Zejun Zhao dd67a9a175 Clean up code 2025-04-18 13:26:16 +08:00
Zhenchen Wang 7ac4fa9519 Add syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-18 09:36:50 +08:00
Yuke Peng 1130933546 Remove unused `device.rs` file in mmio 2025-04-17 19:11:27 +08:00
Ruihan Li d6e40933b8 Move the log lock to a better location 2025-04-16 21:59:24 +08:00
Ruihan Li 67e5e5a651 Remove the unused serial input 2025-04-16 21:59:24 +08:00
Yuke Peng 74ffe72cad Refactor the initialization of `IoPortAllocator` 2025-04-16 10:09:19 +08:00
Yuke Peng a2caedafda Remove the system device's IO port access 2025-04-16 10:09:19 +08:00
Yuke Peng 92b7961df1 Introduce macros that allow system device driver to remove sensitive ports
test

test
2025-04-16 10:09:19 +08:00
Yuke Peng a038b8401b Rename `allocator.rs` to `io.rs` 2025-04-16 10:09:19 +08:00
Yuke Peng d359cc44d6 Implement `IoPortAllocator` 2025-04-16 10:09:19 +08:00
Yuke Peng f89b248f3b Change IoPort to architecture-independent 2025-04-16 10:09:19 +08:00
Zhang Junyang 85d4cdbbb0 Avoid excessive heap allocations in `sys_futex` 2025-04-15 21:56:15 +08:00
jiangjianfeng 5d84ac7775 Generate kernel response to user request 2025-04-15 17:20:12 +08:00
jiangjianfeng 3e66732889 Parse netlink message 2025-04-15 17:20:12 +08:00
jiangjianfeng ac42e83387 Add basic structure for netlink route socket 2025-04-15 17:20:12 +08:00
jiangjianfeng 2c41055470 Expose more methods on bigtcp iface 2025-04-15 17:20:12 +08:00
jiangjianfeng 5e9f537222 Add netlink regression test and gVisor test 2025-04-15 17:20:12 +08:00