Commit Graph

56 Commits

Author SHA1 Message Date
YanWQ-monad 4f575e2028 Fix `writev` fault when `io_vec.len` is 0 2024-04-22 15:16:46 +08:00
Jianfeng Jiang c778e0c07c Remove redundant empty page in init stack 2024-04-22 15:15:15 +08:00
Fabing Li c335873d12 Enable kernel mode unit tests in kernel threads 2024-04-22 13:57:22 +08:00
Chuandong Li 57cb922253 Increase user stack size 2024-04-22 10:40:46 +08:00
Fabing Li dac41e9a2f Support T:?Sized as type parameter for Mutex, SpinLock, RwLock, and RwMutex 2024-04-17 08:51:59 +08:00
Ruihan Li 92a9f5616e Fix error codes in `bind`, `listen`, and `accept` 2024-04-12 14:39:54 +08:00
Ruihan Li 346887ace5 Fix error codes in UDP `sendto` and `recvfrom` 2024-04-12 14:39:54 +08:00
Ruihan Li 00cfdf86c8 Fix error codes in TCP `sendto` and `recvfrom` 2024-04-12 14:39:54 +08:00
Ruihan Li 51080c1925 Fix error codes in `get{sock,peer}name` 2024-04-12 14:39:54 +08:00
Ruihan Li 8b094454aa Use `From<IpEndpoint>` for `SockAddr` (not `TryFrom`) 2024-04-12 14:39:54 +08:00
LI Qing c3c6b0c19d Use Dma APIs for virtio-block driver 2024-04-11 15:22:18 +08:00
Jianfeng Jiang d8a841f88a Add DmaBuf for DMA-capable memory areas 2024-04-11 15:22:18 +08:00
LI Qing a60a8ad3e1 Support big file for Ext2 2024-04-10 13:44:12 +08:00
Ruihan Li bd8be26b30 Access the console device table with IRQ disabled 2024-04-10 12:14:28 +08:00
StanPlatinum e4fd51bc6f sigretrun --> sigreturn 2024-04-09 22:06:57 +08:00
Chen Chengjun afc4bf7520 Modify the behavior of mapping segment vmo 2024-04-08 18:54:46 +08:00
Chen Chengjun 33c8727a13 Introduce XArray and refactor the COW mechanism of Vmo 2024-04-08 18:54:46 +08:00
Jianfeng Jiang 10690063eb Reimplement reading cstring from user space 2024-04-01 17:31:15 +08:00
Jianfeng Jiang a18fc9eb25 Write time to user only if addr is not zero 2024-04-01 13:58:18 +08:00
Yingdi Shan 679a8d8d98 Add asynchronous I/O supports for page cache 2024-03-27 17:57:41 +08:00
Fabing Li 30a2553a70 Fix observer missing in socket for mongoose support 2024-03-27 11:06:17 +08:00
Jianfeng Jiang a2e9b0aaae Make background polling thread sleep 2024-03-25 18:32:11 +08:00
Fabing Li b450eef166 Add potential integer overflow check among Framework APIs 2024-03-25 16:55:54 +08:00
Zhenchen Wang ed0752aacc Add syscall chroot
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>

Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-03-25 16:34:35 +08:00
Chen Chengjun f924eb3694 Adding split functionality to VmMapping for optimizing page permission management 2024-03-23 09:45:29 +08:00
Jianfeng Jiang fad1e42e56 Remove WNOHANG from regression test 2024-03-21 17:03:36 +08:00
Ruihan Li c88d10524c Remove `AlwaysSome` 2024-03-21 10:49:47 +08:00
Yingdi Shan 650c7dfbad Add exFAT file system 2024-03-19 16:26:55 +08:00
Zhang Junyang 52f07458f7 Understanding memory space and move higher the stack 2024-03-19 16:19:54 +08:00
Zhang Junyang b49e11a25e Fix all doc warnings 2024-03-17 19:12:33 +08:00
Zhang Junyang 132d36bf20 Fix a huge immediate allocation in loading 2024-03-17 17:49:24 +08:00
Ruihan Li 595c6ab288 Replace `Poisoned` state by `takeable` crate 2024-03-14 21:22:44 +08:00
Ruihan Li a10d04c5f9 Remove `Arc`s in TCP and UDP states 2024-03-14 21:22:44 +08:00
Jianfeng Jiang 3f402d2d88 Add syscall alarm 2024-03-14 17:26:23 +08:00
LI Qing 3de5c42afd Support the close-on-exec file descriptor flag 2024-03-08 11:44:27 +08:00
LI Qing e0d92b5203 Add support for converting from `VmFrame` to `VmSegment` 2024-03-07 10:56:20 +08:00
LI Qing 437ab804f3 Add support for setpriority and getpriority 2024-03-04 09:47:44 +08:00
Jianfeng Jiang a51b3c7076 Format OSDK documentation 2024-03-01 13:41:49 +08:00
Zhang Junyang f415585dff Fix workspace clippy usage 2024-02-28 16:30:48 +08:00
Zhang Junyang 7eac2772d0 Gone with x86_64-custom 2024-02-28 16:30:48 +08:00
Zhang Junyang e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00
Zhang Junyang f97d0f1260 Implement OSDK functionalities and opt-in OSDK for asterinas 2024-02-28 16:30:48 +08:00
Jianfeng Jiang ab03ef0fe8 Rename aster-std to aster-nix 2024-02-06 10:43:40 +08:00
Jianfeng Jiang faaa4438d6 License rust and c source files 2024-01-18 08:22:58 +08:00
Jianfeng Jiang 99f6765ced Rename jinux to asterinas in documentation and code 2023-12-26 11:49:24 +08:00
Jianfeng Jiang 93781df27b Rename crates from jinux-* to aster-* 2023-12-26 11:49:24 +08:00
Yuke Peng d809eca81d Rename print in framework to early_print 2023-11-23 09:15:37 +08:00
Zhang Junyang 45a6b2f46c Implement should_panic for ktest and clear the codebase 2023-11-09 13:22:34 +08:00
Zhang Junyang bb0560530f Enable usermode unit test for specific crates 2023-11-09 13:22:34 +08:00
Zhang Junyang b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00