Commit Graph

646 Commits

Author SHA1 Message Date
8e72451448 Reuse the wait_events method in pipes 2024-07-18 20:45:16 +08:00
1c0d865373 Refine the event lock for pipes 2024-07-18 20:45:16 +08:00
ab9941263b Avoid duplicate wait_events methods 2024-07-18 20:45:16 +08:00
6e8896165d Remove BusyBoxTraceFile 2024-07-18 20:45:16 +08:00
9505e5704e Avoid the unused rights field 2024-07-18 20:45:16 +08:00
7621b71113 Remove unused documentations 2024-07-18 20:38:24 +08:00
31746e2ebf Use WaitQueue to implement waiting in FutexWaiter 2024-07-18 20:38:24 +08:00
f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
49eef0c094 Select should not return ETIME 2024-07-18 18:09:39 +08:00
2766d95c18 Poll should not return ETIME 2024-07-18 18:09:39 +08:00
bffc34c94b Don't check access mode if the file is being created 2024-07-18 17:55:23 +08:00
fbf2afd799 Add ioctl subcommand FIONBIO/FIOASYNC 2024-07-18 11:39:52 +08:00
da987db700 Add prctl subcommand PR_GET_DUMPABLE/PR_SET_DUMPABLE 2024-07-16 22:31:26 +08:00
0417ad7376 Ignore timeout error in epoll_wait 2024-07-16 22:26:57 +08:00
4292ec2ebb Make intel_tdx feature as default 2024-07-16 21:22:29 +08:00
3d2a0c33af Clean up the virtio console IRQ handler a bit 2024-07-14 16:43:23 +08:00
a465ec1346 Work around a QEMU bug in virtio console pasting 2024-07-14 16:43:23 +08:00
ceb0ef67e1 Make Pauser work in raw tasks 2024-07-14 16:42:08 +08:00
8f64a1cb90 Make Pauser work in kernel threads 2024-07-14 16:42:08 +08:00
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
b73412c2ff Fix known TDX issues 2024-07-09 19:43:55 +08:00
d43fbd88ba Add documentation to bus 2024-07-09 19:42:15 +08:00
0970adb37b Add documentation to x86/device 2024-07-09 19:42:15 +08:00
76f9193882 Add timestamp support for ramfs 2024-07-08 22:31:30 +08:00
8726d858f2 Add pselect6 syscall 2024-07-08 18:21:08 +08:00
623f4c9177 [Quick Fix] update ctime for utimes syscalls 2024-07-04 14:59:41 +08:00
9377a43f8f Add timestamp support for ext2 2024-07-04 14:42:54 +08:00
edc1412cc8 Add /proc/sys/kernel/cap_last_cap support 2024-07-04 10:47:30 +08:00
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
d8389da797 Add syscall mknod
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-07-03 21:59:25 +08:00
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
98619f3482 Init RNG with rdrand directly (without getrandom) 2024-07-03 14:56:33 +08:00
57ecfa2fec Add #[must_use] to all guard types 2024-07-02 12:41:52 +08:00
9e4775d9e2 Remove dead code from UtimeExt 2024-06-29 12:38:23 +08:00
f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00
5eefd600cc Avoid unused variables in the network module 2024-06-28 20:24:27 +08:00
94e043ac8d Update nonblocking flags of UNIX sockets correctly 2024-06-28 20:24:27 +08:00
fa584bd8f5 Set the TX buffer length of UDP sockets correctly 2024-06-28 20:24:27 +08:00
cd2b305fa8 Modify the userspace read/write usage location 2024-06-28 15:36:21 +08:00
af908c29cf Refactor the read/write operations to userspace 2024-06-28 15:36:21 +08:00
09b6153d29 Refactor VmReader/Writer to support both kernel space and user space 2024-06-28 15:36:21 +08:00
5b9dd2fee8 Clear the robust list during do_execve 2024-06-28 15:36:21 +08:00
12db7ec55d Add and refactor read-write syscalls 2024-06-27 23:16:14 +08:00
d3c172013a Fix unused warning of UtimeExt 2024-06-27 21:22:46 +08:00
d33f90eaeb Add sys_access and sys_faccessat 2024-06-27 15:56:04 +08:00
212dd562a0 Add sys_fdatasync and sync_data 2024-06-27 15:55:16 +08:00
5edc110f9d Reconstruct utime-like syscalls and fix filetime implementations 2024-06-27 15:54:04 +08:00
3de8a9330a Fix the OSDK CI failure 2024-06-27 15:45:49 +08:00
fe7251c413 Rename aster_main as ostd::main 2024-06-27 15:45:49 +08:00
59350a8578 Rename aster-frame to ostd 2024-06-27 15:45:49 +08:00