397 Commits

Author SHA1 Message Date
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
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
jiangjianfeng
8815ca384f Add syscall ppoll 2025-04-21 11:19:48 +08:00
Ruihan Li
81b79dacc6 Remove read*_to_end methods 2025-04-18 14:17:37 +08:00
Zejun Zhao
14b8c48859 Adjust RISC-V's implementation for recent changes 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
Zhenchen Wang
7ac4fa9519 Add syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-18 09:36:50 +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
7d24e63216 Move network polling code to bottom half 2025-04-15 14:54:51 +08:00
Ruihan Li
a1f81df263 Remove ostd/src/mm/offset.rs 2025-04-15 09:15:22 +08:00
Ruihan Li
8600278a5f Drop files at the correct time 2025-04-14 21:13:11 +08:00
Ruihan Li
7e1abc1fbb Rename ProcessVmarGuard::get to unwrap 2025-04-14 21:13:11 +08:00
Ruihan Li
293f1ff4c9 Do release_range_locks in Drop 2025-04-14 21:13:11 +08:00
Chen Chengjun
a21e895102 Enable RCU to read reference to stored pointers 2025-04-10 14:42:51 +08:00
jiangjianfeng
b833ec6ede Implement ReadCString for MultiRead 2025-04-09 16:47:11 +08:00
Ruihan Li
ceb79ea27a Always move zombie children to init 2025-04-07 13:01:22 +08:00
Chen Chengjun
e4f07b76a0 Add real vfork logics 2025-04-03 14:44:39 +08:00
le-monde-bleu
43e43ca133 Add vfork syscall and related clone flags 2025-04-03 14:44:39 +08:00
Ruihan Li
0bbd56ecf3 Don't panic for missing virtio-net 2025-04-02 11:33:51 +08:00
jiangjianfeng
1846c680fc Clone the reader to prevent cursor misplacement in ReadCString 2025-03-31 14:00:04 +08:00
Shaowei Song
2af71ff72a Add xattr support for ext2 2025-03-28 15:08:59 +08:00
Shaowei Song
97c27e8d2a Add xattr support for ramfs 2025-03-28 15:08:59 +08:00
Shaowei Song
a47eda413c Add extended attribute (xattr) syscalls: setxattr, getxattr, listxattr and removexattr 2025-03-28 15:08:59 +08:00
Cautreoxit
7a8afd8c48 Add a empty line after the license 2025-03-25 19:47:55 +08:00
jiangjianfeng
0e1c660225 Make VmReader's several methods accept &mut self 2025-03-25 14:25:08 +08:00
Zhang Junyang
4f0acddfd4 Strict TLB coherence 2025-03-21 21:19:50 +08:00
Zhang Junyang
30ec0be210 Halt the idle CPUs 2025-03-21 21:19:50 +08:00
Zhang Junyang
f1c7564184 Move CPU context implementations to a specific module 2025-03-21 21:19:50 +08:00
Zhang Junyang
298a205da2 Avoid an Arc::clone in mmap to make it scale 2025-03-21 20:09:42 +08:00
Zhang Junyang
f9284d3803 Workaround the missing process of a thread 2025-03-21 18:05:10 +08:00
Fabing Li
bce23a63bd Add sys_signalfd/sys_signalfd implementation 2025-03-21 16:10:55 +08:00
Ruihan Li
bb1b41b413 Fix dead code lints 2025-03-21 16:00:35 +08:00
Hsy-Intel
49e6cd2712 Use macro to handle TDX-related code 2025-03-20 17:25:22 +08:00
Chen Chengjun
135100a472 Modify the getting-VMAR usages in other syscalls 2025-03-20 14:20:47 +08:00
Chen Chengjun
048fd1077c Inject post_schedule/user_page_fault handler to OSTD 2025-03-20 14:20:47 +08:00
Chen Chengjun
2a20f6b59a Add mutable functionality to the process VMAR 2025-03-20 14:20:47 +08:00
Chen Chengjun
248b24fb4e Remove UserSpace abstraction from OSTD 2025-03-20 14:20:47 +08:00
Zejun Zhao
73e0b30785 Eliminate redundant check in hot path 2025-03-20 10:45:16 +08:00