341 Commits

Author SHA1 Message Date
Yuke Peng
7621b71113 Remove unused documentations 2024-07-18 20:38:24 +08:00
Yuke Peng
31746e2ebf Use WaitQueue to implement waiting in FutexWaiter 2024-07-18 20:38:24 +08:00
Jianfeng Jiang
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
Jianfeng Jiang
49eef0c094 Select should not return ETIME 2024-07-18 18:09:39 +08:00
Jianfeng Jiang
2766d95c18 Poll should not return ETIME 2024-07-18 18:09:39 +08:00
YanWQ-monad
bffc34c94b Don't check access mode if the file is being created 2024-07-18 17:55:23 +08:00
Qingsong Chen
fbf2afd799 Add ioctl subcommand FIONBIO/FIOASYNC 2024-07-18 11:39:52 +08:00
Qingsong Chen
da987db700 Add prctl subcommand PR_GET_DUMPABLE/PR_SET_DUMPABLE 2024-07-16 22:31:26 +08:00
Yuke Peng
0417ad7376 Ignore timeout error in epoll_wait 2024-07-16 22:26:57 +08:00
Hsy-Intel
4292ec2ebb Make intel_tdx feature as default 2024-07-16 21:22:29 +08:00
Ruihan Li
3d2a0c33af Clean up the virtio console IRQ handler a bit 2024-07-14 16:43:23 +08:00
Ruihan Li
a465ec1346 Work around a QEMU bug in virtio console pasting 2024-07-14 16:43:23 +08:00
Ruihan Li
ceb0ef67e1 Make Pauser work in raw tasks 2024-07-14 16:42:08 +08:00
Ruihan Li
8f64a1cb90 Make Pauser work in kernel threads 2024-07-14 16:42:08 +08:00
Zhang Junyang
9e5f3123e1 Log messages to the serial atomically and rename arch::serial
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-09 21:56:03 +08:00
Hsy-Intel
b73412c2ff Fix known TDX issues 2024-07-09 19:43:55 +08:00
Yuke Peng
d43fbd88ba Add documentation to bus 2024-07-09 19:42:15 +08:00
Yuke Peng
0970adb37b Add documentation to x86/device 2024-07-09 19:42:15 +08:00
LI Qing
76f9193882 Add timestamp support for ramfs 2024-07-08 22:31:30 +08:00
Yuke Peng
8726d858f2 Add pselect6 syscall 2024-07-08 18:21:08 +08:00
Fabing Li
623f4c9177 [Quick Fix] update ctime for utimes syscalls 2024-07-04 14:59:41 +08:00
LI Qing
9377a43f8f Add timestamp support for ext2 2024-07-04 14:42:54 +08:00
Weijie Liu
edc1412cc8 Add /proc/sys/kernel/cap_last_cap support 2024-07-04 10:47:30 +08:00
Zhenchen Wang
12b355b701 Fix issue about pathname and redefine the Filetype.
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-07-03 21:59:25 +08:00
Zhenchen Wang
d8389da797 Add syscall mknod
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-07-03 21:59:25 +08:00
Zhang Junyang
0f8d8da372 Refactor code related to CPU local memory
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-03 17:40:53 +08:00
Qingsong Chen
98619f3482 Init RNG with rdrand directly (without getrandom) 2024-07-03 14:56:33 +08:00
Ruihan Li
57ecfa2fec Add #[must_use] to all guard types 2024-07-02 12:41:52 +08:00
Ruihan Li
9e4775d9e2 Remove dead code from UtimeExt 2024-06-29 12:38:23 +08:00
Fabing Li
f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00
Ruihan Li
5eefd600cc Avoid unused variables in the network module 2024-06-28 20:24:27 +08:00
Ruihan Li
94e043ac8d Update nonblocking flags of UNIX sockets correctly 2024-06-28 20:24:27 +08:00
Ruihan Li
fa584bd8f5 Set the TX buffer length of UDP sockets correctly 2024-06-28 20:24:27 +08:00
Chen Chengjun
cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
Chen Chengjun
af908c29cf Refactor the read/write operations to userspace 2024-06-28 15:36:21 +08:00
Chen Chengjun
09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
Chen Chengjun
5b9dd2fee8 Clear the robust list during do_execve 2024-06-28 15:36:21 +08:00
Fabing Li
12db7ec55d Add and refactor read-write syscalls 2024-06-27 23:16:14 +08:00
Fabing Li
d3c172013a Fix unused warning of UtimeExt 2024-06-27 21:22:46 +08:00
Fabing Li
d33f90eaeb Add sys_access and sys_faccessat 2024-06-27 15:56:04 +08:00
Fabing Li
212dd562a0 Add sys_fdatasync and sync_data 2024-06-27 15:55:16 +08:00
Fabing Li
5edc110f9d Reconstruct utime-like syscalls and fix filetime implementations 2024-06-27 15:54:04 +08:00
Jianfeng Jiang
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
Jianfeng Jiang
fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
Jianfeng Jiang
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00
Zhang Junyang
6b17cceacc Replace the futex hash buckects with Once to fix the leak 2024-06-26 21:00:44 +08:00
Shaocong Sun
1b22267a87 Add readahead for pagecache 2024-06-26 20:22:20 +08:00
Fabing Li
053f8d416e Add syscall getdents 2024-06-26 19:16:31 +08:00
Ruihan Li
2beeedf7ed Allow overwriting PTEs in shared memory regions 2024-06-25 16:18:34 +08:00
Jianfeng Jiang
cb5b996274 Add syscall sendmsg and recvmsg 2024-06-25 13:40:58 +08:00