255 Commits

Author SHA1 Message Date
Yuke Peng
e7a75947ea Remove ETIME logic in sys_poll 2024-07-22 21:45:52 +08:00
Yuke Peng
6ada748b79 Remove ETIME logic in sys_select 2024-07-22 21:45:52 +08:00
Yuke Peng
faa4234c7d Return Ok when timer expired in do_poll 2024-07-22 21:45:52 +08:00
hongwen.chw
4dacff5be4 Fix a typo when assign 'dst.rbx' at copy_gp_regs 2024-07-21 22:34:58 +08:00
Zhang Junyang
668997ab51 Refactor the VmSpace API and work around misuses 2024-07-20 20:56:29 +08:00
Ruihan Li
9f125cd671 Remove the nonsense mutex in Poller 2024-07-19 18:37:54 +08:00
Ruihan Li
94eba6d85e Add unit tests about blocking behavior 2024-07-18 20:45:16 +08:00
Ruihan Li
a219b6a485 Rename Endpoint to Fifo 2024-07-18 20:45:16 +08:00
Ruihan Li
39cd4420f2 Fix many error codes in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li
8e72451448 Reuse the wait_events method in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li
1c0d865373 Refine the event lock for pipes 2024-07-18 20:45:16 +08:00
Ruihan Li
ab9941263b Avoid duplicate wait_events methods 2024-07-18 20:45:16 +08:00
Ruihan Li
6e8896165d Remove BusyBoxTraceFile 2024-07-18 20:45:16 +08:00
Ruihan Li
9505e5704e Avoid the unused rights field 2024-07-18 20:45:16 +08:00
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