Commit Graph

3280 Commits

Author SHA1 Message Date
Ruihan Li 33428b46b9 Clarify error codes and messages 2025-11-26 17:35:42 +08:00
Ruihan Li 2892b8a977 Use `size_of` in preludes 2025-11-26 17:35:42 +08:00
Tao Su 76a37310af Mark some syscalls without flags as fully supported 2025-11-26 17:34:20 +08:00
Hsy-Intel f8c94695d0 Add TDX hardware randomness requirement note 2025-11-26 17:26:55 +08:00
jiangjianfeng b132d46a02 Bump docker image version to 0.16.1-20251126 2025-11-26 17:19:37 +08:00
jiangjianfeng 79b5e2f0ee Install tools to prepare nixos rootfs in container 2025-11-26 17:19:37 +08:00
Zhang Junyang 7564314de3 Fix a misuse of `CommonSizeClass::from_size` in CPU local allocator 2025-11-26 16:41:04 +08:00
Zhe Tang 70eda539df Refactor IoMem acquisition to use appropriate cache policies across multiple components 2025-11-25 10:24:54 +08:00
Zhe Tang fb1cab9951 Enhance IoMem to support configurable cache policies 2025-11-25 10:24:54 +08:00
Zhe Tang 22dffcf8c2 Extend Cache Policies for the x86 Architecture 2025-11-25 10:24:54 +08:00
Chen Chengjun f8147469d4 Make the mount-related fields in statx effective 2025-11-24 19:01:19 +08:00
Zhe Tang 22a243438d Add the EFI framebuffer CI test 2025-11-24 18:56:29 +08:00
Zhe Tang 20c0d3d178 Add proper error handling for unsupported `ioctl` commands in the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 0043cc7504 Implement the color map and the related `ioctl` handlers for the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang d027b01f3b Implement the `ioctl` handlers for getting and setting information for the EFI framebuffer. 2025-11-24 18:56:29 +08:00
Zhe Tang 3fd1ecd96f Add a helper method to retrieve the line size of the framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 49068f23d8 Incorporate Linux-compatible data structures for the framebuffer's `ioctl` 2025-11-24 18:56:29 +08:00
Zhe Tang 93eaa7c247 Support `lseek`, `read`/`write` with offsets for the EFI framebuffer 2025-11-24 18:56:29 +08:00
Zhe Tang 26dc88dc80 Register `/dev/fb0` as a character device 2025-11-24 18:56:29 +08:00
Zhe Tang c33c37b593 Add the basic framework of /dev/fb0
Co-authored-by: Wei Zhang <ruoyuan.zw@antgroup.com>
2025-11-24 18:56:29 +08:00
Qingsong Chen 0ed3f86709 Fix device id of ext2 inode 2025-11-24 18:55:01 +08:00
Tao Su 5799829c3f Pin `mdbook` and `typos-cli` versions for Rust 1.86 compatibility 2025-11-24 18:37:01 +08:00
Tao Su 590be640d0 Add `gnulib` mirror redirect to improve GRUB build reliability 2025-11-24 18:37:01 +08:00
Wang Siyuan a616682fe3 Add a regression test for executing memfd files 2025-11-24 12:34:42 +08:00
Wang Siyuan 449939a32b Move the executable `PathOrInode` to `ProcessVm` 2025-11-24 12:34:42 +08:00
Wang Siyuan 423053f2e6 Store the executable `PathOrInode` in `Process` to support `execveat` memfd files with `MFD_CLOEXEC` 2025-11-24 12:34:42 +08:00
Wang Siyuan 7bd8af411b Support `execveat` memfd files without `MFD_CLOEXEC` 2025-11-24 12:34:42 +08:00
Wang Siyuan 71632a51b5 `ProgramToLoad` only needs a `elf_inode: Arc<dyn Inode>` instead of a `Path` 2025-11-24 12:34:42 +08:00
jiangjianfeng 808d298938 Drop option lock before polling iface 2025-11-24 12:31:38 +08:00
Cautreoxit 9cd86a2b62 Add a basic test for evdev into CI 2025-11-24 11:42:36 +08:00
Cautreoxit a8eadb8be4 Add evtest into initramfs.nix 2025-11-24 11:42:36 +08:00
Cautreoxit 869e04f6bb Add evdev module 2025-11-24 11:42:36 +08:00
Tao Su 2034055f90 Bump the Docker image version 2025-11-21 20:27:38 +08:00
Tao Su c2fce9ae1d Add workflow to check SCML files with sctrace 2025-11-21 20:27:38 +08:00
Tao Su d1e74d744e Install sctrace in Docker image 2025-11-21 20:27:38 +08:00
Tao Su 02abae8d61 Publish sctrace in workflows 2025-11-21 20:27:38 +08:00
Tao Su f3fb82c6f1 Add sctrace tool 2025-11-21 20:27:38 +08:00
Chen Chengjun f1d90b8c69 Updates limitations-on-system-calls 2025-11-21 19:34:04 +08:00
Chen Chengjun 38d49c34fb Add some tests for PR_SET/GET_SECUREBITS flags 2025-11-21 19:34:04 +08:00
Chen Chengjun 74dd519a10 Support PR_SET/GET_SECUREBITS 2025-11-21 19:34:04 +08:00
Qingsong Chen 76c7752130 Separate inode and opened file types for BlockFile 2025-11-20 19:40:40 +08:00
Qingsong Chen e407dc7ce9 Refactor mem/misc char devices 2025-11-20 19:40:40 +08:00
Chen Chengjun 6df2af2e17 Fix some mount-related bugs 2025-11-20 18:22:26 +08:00
Zhang Junyang 8096249765 Add a lock before capturing coverage 2025-11-20 14:36:30 +08:00
Qingsong Chen 7876b7127d Fix virtio-block request ID exhaustion panics with SyncIdAlloc 2025-11-20 10:43:24 +08:00
Qingsong Chen 8f7fa18497 Fix missing virtio-blk-device configuration for riscv64 2025-11-20 10:43:24 +08:00
Qingsong Chen 9e2f5adf9b Add partition support for block device 2025-11-20 10:43:24 +08:00
Qingsong Chen d954e3d006 Move ranged integer to aster-util crate 2025-11-20 10:43:24 +08:00
Chen Chengjun 623fbb5e5b Enable some givsor tests 2025-11-19 21:09:50 +08:00
Chen Chengjun 7305d389f0 Refactor the timer module to solve race conditions and support fdinfo for timerfd files 2025-11-19 21:09:50 +08:00