Commit Graph

3053 Commits

Author SHA1 Message Date
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
Chen Chengjun 59cd3bd61d Support generating fdinfo for most of the existing FileLikes 2025-11-19 21:09:50 +08:00
Chen Chengjun 61a5bb7241 Add fdinfo files to proc filesystem 2025-11-19 21:09:50 +08:00
Ruihan Li 668876aeee Check the existence of i8042 and RTC CMOS 2025-11-19 15:39:49 +08:00
Ruihan Li 9a8e6fd372 Simplify the code in `aster-time` 2025-11-19 15:39:49 +08:00
Ruihan Li bbe0e3f3bb Reimplement `RtcCmos` 2025-11-19 15:39:49 +08:00
Ruihan Li 21365dd0bd Fix some behavior about `seek()` 2025-11-19 10:33:51 +08:00
Ruihan Li 24502ac3d4 Add `InodeIo` to simplify `FileIo` and `Inode` 2025-11-19 10:33:51 +08:00
Ruihan Li 08dfe533c4 Use `Box<FileIo>` instead of `Arc<FileIo>` 2025-11-19 10:33:51 +08:00
Hsy-Intel 8617f5bc40 Remove duplicate QEMU parameters in the TDX environment 2025-11-18 19:54:32 +08:00
jiangjianfeng 63354d670e Support mknod for /dev/full and /dev/tty0 2025-11-18 17:32:34 +08:00
Ruihan Li 10b719b962 Enforce `Werror` for all tests (again) 2025-11-18 14:49:19 +08:00
Ruihan Li bdbea8e8c6 Fix test macros if `#cond` contains `%s` 2025-11-18 14:49:19 +08:00
Ruihan Li 7ebee6d8a1 Fix TTY's HUP events 2025-11-18 14:49:19 +08:00
Zejun Zhao 53803a9fb1 Let OSDK shutdown sifive_u QEMU machine 2025-11-18 14:46:16 +08:00
Zejun Zhao 902106eb2e Allow SBI system_reset to fail 2025-11-18 14:46:16 +08:00
jiangjianfeng 2f568d5e73 Read pty master should block if no pty slave is opened 2025-11-18 09:48:32 +08:00
jiangjianfeng 3c89b58fde Add regression test for open ptmx 2025-11-18 09:48:32 +08:00
Wang Siyuan 151d7ab1bf Refactor procfs with `VmPrinter` 2025-11-17 16:42:08 +08:00
Tao Su 314fbe285a Check size and alignment for untyped metadata 2025-11-17 15:26:45 +08:00
Tao Su 83176020f2 Invoke get_report() using private memory 2025-11-17 15:26:45 +08:00
Ruihan Li 0636e1048e Clarify how `Path` inherits methods 2025-11-17 11:25:55 +08:00
Zhang Junyang 9c8a8f8df9 Remove `PageProperty::new_absent` 2025-11-16 18:18:26 +08:00
Tao Su eff4daf3ac Refactor syscall limitations by extracting SCML to separate files 2025-11-16 15:50:48 +08:00
Zejun Zhao 11d7518f09 Use smp=5 for sifive_u scheme 2025-11-16 11:23:46 +08:00
Zejun Zhao 963771fd32 Skip management hart while enumerating usable harts 2025-11-16 11:23:46 +08:00
Ruihan Li 69dc2479db Rename initialization methods 2025-11-16 11:09:08 +08:00
Ruihan Li 19b1fe36c5 Remove outdated safety comments 2025-11-16 11:09:08 +08:00