Commit Graph

3358 Commits

Author SHA1 Message Date
Ruihan Li eb76ded5fc Simplify/Clarify `notify/mod.rs` code 2026-01-02 16:47:03 -08:00
Ruihan Li 8397854b37 Fix `accepts_new_subscribers` race 2026-01-02 16:47:03 -08:00
Ruihan Li 48c5891543 Remove `VecDeque::try_with_capacity` 2026-01-02 16:47:03 -08:00
Ruihan Li dccf23e283 Redesign inode extensions 2026-01-02 16:47:03 -08:00
jiangjianfeng bc230b24e1 Fix doc warnings 2026-01-02 11:26:43 -08:00
jiangjianfeng dd440c1376 Check documentation of all crates in `make docs` 2026-01-02 11:26:43 -08:00
Marsman1996 26ac77c371 Fix overflow panic in syscall `fcntl` 2026-01-01 22:50:30 +08:00
Ruihan Li 81e9bfa2ee Flush TLBs in `IoMem::new` 2025-12-31 20:00:37 -08:00
Zhang Junyang 6ad67309fd Seal the kernel page table 2025-12-31 19:40:11 -08:00
Zhang Junyang abf8d9f5e4 Clean up TDX linear mapping protecting operations
Co-authored-by: Tao Su <st498824@antgroup.com>
2025-12-31 19:40:11 -08:00
Zhang Junyang 71681dd947 Refactor DMA APIs 2025-12-31 19:40:11 -08:00
Zhang Junyang 0c30edb5da Add a `Split` trait for `KVirtArea` and `Segment` 2025-12-31 19:40:11 -08:00
Zhang Junyang 8dbb5ecd69 Add a range counter 2025-12-31 19:40:11 -08:00
jiangjianfeng 82ccfcd4c6 Refactor the implementation of prlimit64 2025-12-31 16:18:45 +08:00
zjp c91d383c91 Fix `offset: *mut Self` by `offset: usize` in SingleInstruction traits 2025-12-30 14:36:50 +08:00
Ruihan Li 033c240d8f Fix madvise behavior 2025-12-29 19:43:00 +08:00
Ruihan Li 7feb803eab Fix cases where some pages are not mapped 2025-12-29 19:43:00 +08:00
Ruihan Li eee6708aec Fix error codes in MM syscalls 2025-12-29 19:43:00 +08:00
Ruihan Li 142cd4b481 Add `is_userspace_vaddr_range` 2025-12-29 19:43:00 +08:00
Ruihan Li d19ffac68a Drop `MAP_SYNC` support 2025-12-29 19:43:00 +08:00
Ruihan Li e40091808a Fix error codes in mmap 2025-12-29 19:43:00 +08:00
Jakob Hellermann 84b235d3dd Fix invalid environment name escaping in Makefile
This would print 'Error: this \ environment variable must be given'
previously.
2025-12-29 19:41:00 +08:00
Cautreoxit 1fe337e2fd Add SCML for ioprio_get and ioprio_set 2025-12-29 19:39:17 +08:00
Cautreoxit cdf4ff398d Add SCML for fadvise64 2025-12-29 19:39:17 +08:00
Cautreoxit f248b83ecc Add SCML for close_range 2025-12-29 19:39:17 +08:00
jiangjianfeng 4263b9be33 Remove multilingua from book.toml 2025-12-29 19:37:02 +08:00
jiangjianfeng 8c090eb0e7 Bump docker ref to 0.17.0-20251228 2025-12-29 19:37:02 +08:00
Chaoqun Zheng ebfa7977b1 Adjust `blocks_count` field to `sector_count` in `InodeDesc` and `RawInode`.
In ext2, the granule of the `blocks_count` field in disk-inode is fixed at
512B. In the current implementation of Asterinas, the `blocks_count`
granule of memory-inode is BLOCK_SIZE.
2025-12-29 10:26:48 +08:00
Ruihan Li 046c9f6a94 Improve futex code and log clarity 2025-12-29 10:11:26 +08:00
Ruihan Li ca384fc427 Never allow overlapping ELF maps 2025-12-29 10:09:58 +08:00
Ruihan Li e92fbe3e69 Correct ELF alignment settings 2025-12-29 10:09:58 +08:00
Marsman1996 545efaa155 Validate futex address alignment when waking robust futexes 2025-12-28 23:48:34 +08:00
Tao Su 2502e01909 Add SCML for `ioctl` 2025-12-28 23:01:44 +08:00
Tao Su cf74341805 Add SCML for `utimensat` 2025-12-28 23:01:44 +08:00
Tao Su 7c7dd47b9b Add SCML for `flock` and `fallocate` 2025-12-28 23:01:44 +08:00
Tate, Hongliang Tian dfe19e4f3c Bump the Docker image version to 0.17.0-20251228 2025-12-28 10:21:58 +08:00
Tate, Hongliang Tian 7dc6fb980f Upgrade mdBook to 0.5.2 2025-12-28 10:21:58 +08:00
Tate, Hongliang Tian 83c167ed5d Fix the broken link to "Contriubting to Asterinas" in Book 2025-12-28 09:48:41 +08:00
rikosellic c4e8bf2c21 Remove WeakRef and NonNullPtr impl for Weak<T> 2025-12-26 17:00:11 +08:00
Marsman1996 b46a02463b Replace RwLock with RwMutex for child node management in SysTree 2025-12-26 14:08:17 +08:00
Marsman1996 6d1155896d Fix OOM in `getdents(64)` by user space writer 2025-12-26 14:08:17 +08:00
Ruihan Li 57399a223c Update outdated compatibility data 2025-12-26 13:16:59 +08:00
Ruihan Li 631cbf92c3 Add SCMLs for some network syscalls 2025-12-26 13:16:59 +08:00
Zhenchen Wang 847ef4c784 update statx scml documentation
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-26 13:16:59 +08:00
Ruihan Li 4fdf400d2a Separate VMAR load and activation 2025-12-26 13:16:59 +08:00
Ruihan Li e2f7b0eb73 Clean up `ProgramToLoad` 2025-12-26 13:16:59 +08:00
Ruihan Li 2b8ccbf3d2 Clean up `load_elf.rs` and do overflow checks 2025-12-26 13:16:57 +08:00
Ruihan Li 586266b086 Clean up `elf_file.rs` 2025-12-25 15:41:58 +08:00
Marsman1996 bcf8f5e93c Fix OOM by adding SYSCTL_NR_OPEN limit for setrlimit and prlimit64 2025-12-25 10:17:28 +08:00
Zhenchen Wang cd7859161d Fix the issue of notifying parent in fsnotify 2025-12-25 09:55:08 +08:00