Commit Graph

372 Commits

Author SHA1 Message Date
Hsy-Intel 5d0779bd83 Fix format issue 2026-02-03 22:57:49 -08:00
Xinyi Yu b0407dd517 Add `proc/self/mounts` and `proc/mounts` 2026-02-03 14:03:36 -08:00
Ruihan Li 8297da7247 Remove `VmMapping::inode` 2026-02-03 13:18:10 -08:00
Ruihan Li 894f6ba9b4 Fix heap lock issues 2026-02-03 13:18:10 -08:00
Qingsong Chen a4f77b12b6 Revise InodeDesc.acl from Option<Bid> to Bid 2026-01-28 18:43:02 -08:00
Qingsong Chen 28fe11e98d Fix ext2 fast symlink inode detection logic 2026-01-28 18:43:02 -08:00
Xinyi Yu 01cf00a4c6 Trim whitespace from input string before parsing in `OomScoreAdhFileOps::write_at` method 2026-01-28 16:19:03 -08:00
Wang Siyuan 08d54ec6ad Add entries other than `[stack]` in `/proc/[pid]/maps` 2026-01-27 23:01:17 -08:00
li041 306cc714ae Align `PidFile` semantics with POSIX standards 2026-01-28 11:20:50 +08:00
Chaoqun Zheng e4ebd821de Fix error setting bid in `InodeImpl::free_indirect_blocks_required_by` 2026-01-26 15:17:07 -08:00
Wang Siyuan b7ae738310 Cleanup: Only maintain children for directory dentries 2026-01-22 11:39:09 +08:00
Marsman1996 5792b49722 Fix error handling in OverlayFsType by propagating lookup errors 2026-01-21 00:30:23 -08:00
Ruihan Li bdc1c79770 Fix overflow behavior and control flags 2026-01-18 18:39:32 -08:00
Ruihan Li e082d4eaa6 Respect `InotifyControls::ONESHOT` 2026-01-18 18:39:32 -08:00
Ruihan Li b5518ccd64 Remove unnecessary atomic loads 2026-01-18 18:39:32 -08:00
Ruihan Li 43b8838d6a Reject new watches on deleted inodes 2026-01-18 18:39:32 -08:00
Chen Chengjun 38d455496b Modify all usages of the removed Path APIs 2026-01-15 19:04:51 -08:00
Chen Chengjun 1e5f2e186c Consolidate all path resolution related interfaces under PathResolver 2026-01-15 19:04:51 -08:00
Chen Chengjun 5d5f0bdcde Rename FsResolver to PathResolver and update all usages 2026-01-15 19:04:51 -08:00
Chen Chengjun 505114c17b Move fs_resolver.rs to path module as resolver.rs 2026-01-15 19:04:51 -08:00
Chen Chengjun bae5de9e8f Move test/* to test/initramfs/* 2026-01-13 11:53:34 -08:00
Wang Siyuan 1e77c0a938 Cleanup: Use `AtomicStatusFlags::new(flags)` instead of `AtomicU32::new(flags.bits())` 2026-01-11 17:00:23 -08:00
Wang Siyuan 138401b0ab Remove `PathOrInode` 2026-01-11 17:00:23 -08:00
Wang Siyuan fedd6dc196 Apply pseudo `Path` to members of `anon_inodefs` 2026-01-11 17:00:23 -08:00
Wang Siyuan 0565dd1349 Apply pseudo `Path` to sockets 2026-01-11 17:00:23 -08:00
Wang Siyuan bbb6a63ee4 Apply pseudo `Path` to anonymous pipes and remove `AnonPipeFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan 8eade9b631 Move pipe ktests into `pipe::common` 2026-01-11 17:00:23 -08:00
Wang Siyuan b25e41dd4f Apply pseudo `Path` to memfd files and remove `MemfdFile` 2026-01-11 17:00:23 -08:00
Wang Siyuan e6361e5242 Add pseudo `Path` 2026-01-11 17:00:23 -08:00
Wang Siyuan cb5449cf2a Add pseudo `Dentry` 2026-01-11 17:00:23 -08:00
Wang Siyuan fe633972f3 Add pseudo `Mount` 2026-01-11 17:00:23 -08:00
Ruihan Li 922b204280 Move `Pipe` from `InodeImpl` to `Inode` 2026-01-07 15:41:14 +08:00
Wang Siyuan bb9b979586 Support allocating inodes from `PseudoFs` 2026-01-06 14:26:06 +08:00
Wang Siyuan 02a04f1365 Polling a `fd` opened with `O_PATH` should return `POLLNVAL` 2026-01-06 14:26:06 +08:00
Wang Siyuan 1bf5b398dc Remove `inode_handle/dyn_cap.rs` and `HandleInner` 2026-01-06 14:26:06 +08:00
Wang Siyuan f2b9e356f1 Reorder `HandleInner` methods to clarify diff 2026-01-06 14:26:06 +08:00
Zhenchen Wang 3dd881dec5 Improve fsnotify functions to pass name information more effectively 2026-01-05 13:45:25 -08:00
Ruihan Li 7ed0152d83 Remove some fdinfo attributes 2026-01-04 21:18:02 -08:00
Ruihan Li d461f81ecb Optimize `copy_to_user` 2026-01-04 21:18:02 -08:00
Ruihan Li 2155869920 Refactor `try_read` 2026-01-04 21:18:02 -08:00
Ruihan Li 4a93b34e3d Refactor `add_watch` and `remove_watch` 2026-01-04 21:18:02 -08:00
Ruihan Li 1ab7550c83 Fix comment styles and outdated comments 2026-01-04 21:18:02 -08:00
jiangjianfeng a0b746fb3f Run clippy test with and without ktest configuration 2026-01-03 21:17:39 -08:00
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
Zhang Junyang 71681dd947 Refactor DMA APIs 2025-12-31 19:40:11 -08:00
Ruihan Li e40091808a Fix error codes in mmap 2025-12-29 19:43:00 +08:00