Commit Graph

2856 Commits

Author SHA1 Message Date
Ruihan Li 74f23ce23d Fix some `kill`-related behavior 2025-10-20 14:05:45 +08:00
Ruihan Li 75edabc557 Construct `SignalSenderIds` from `Context` 2025-10-20 14:05:45 +08:00
Ruihan Li 43f50c5e2a Fix futex return values 2025-10-20 11:24:48 +08:00
Ruihan Li 52ddbeaff8 Use the `Arc<Waker>` address as the futex ID 2025-10-20 11:24:48 +08:00
Ruihan Li 34b4ad5e9b Clean up visibility in `futex.rs` 2025-10-20 11:24:48 +08:00
Yuke Peng 23f14df21f [sched] Fix the missing of preemption check in RISC-V & loongarch 2025-10-20 11:17:24 +08:00
jiangjianfeng 600446e9e1 Cleanup ThreadName related code 2025-10-20 10:52:07 +08:00
Tate, Hongliang Tian a7e45201e7 Update README.md for ICSE 2026 paper acceptance 2025-10-18 17:58:52 +08:00
Chen Chengjun 782301c239 Remove open-related APIs from FsResolver 2025-10-17 16:18:56 +08:00
Chen Chengjun c2ab393d57 Cleanup the lookup APIs of FsResolver 2025-10-17 16:18:56 +08:00
Ruihan Li 384e5bc70d Fix an off-by-one bug in the trap frame 2025-10-16 22:28:29 +09:00
Ruihan Li fe7dc1f83e Adjust some symbol names 2025-10-16 22:28:29 +09:00
Ruihan Li 3673049620 Resolve minor issues in `ostd::src::arch` 2025-10-16 21:46:40 +09:00
Ruihan Li bc6ef5231b Reorangize `ostd::arch::irq` 2025-10-16 21:46:40 +09:00
Wang Siyuan f69d39e9c1 Add a regression test for `/proc/[pid]/mem` 2025-10-15 16:34:32 +08:00
Wang Siyuan 3f2c319e00 Support `/proc/[pid]/mem` and `/proc/[pid]/task/[tid]/mem` 2025-10-15 16:34:32 +08:00
Wang Siyuan ef5e0060d7 Support reading `InitStack` across pages 2025-10-15 16:34:32 +08:00
Wang Siyuan c2adcf9944 Support accessing user spaces of other processes 2025-10-15 16:34:32 +08:00
Qingsong Chen 257b0c63b1 Fix ext2 block groups count 2025-10-14 13:20:06 +09:00
Tao Su f97479edff Add `wait4` and `clone` syscall limitation to the book 2025-10-14 13:17:42 +09:00
Ruihan Li 0be36ee2c1 Fix virtio-mmio interrupt handling 2025-10-14 00:48:09 +09:00
Tao Su d8bc04dbbe Add networking & sockets related syscall limitations to the book 2025-10-14 00:44:48 +09:00
Ruihan Li 51eb74250e Fix several MMIO/PIO allocation bugs 2025-10-14 00:22:38 +09:00
Ruihan Li 7d86d326a3 Adjust the MMIO area alignment 2025-10-14 00:22:38 +09:00
Ruihan Li fa59b8be2b Adjust visibility marks in `ostd::io` 2025-10-14 00:22:38 +09:00
Tate, Hongliang Tian 9062f86194 Update README.md 2025-10-14 00:10:04 +09:00
Tate, Hongliang Tian 155beec899 Revise the News section of the README 2025-10-14 00:05:32 +09:00
Ruihan Li 7b212a6a25 Check capabilities instead of the root 2025-10-13 14:21:27 +08:00
Hsy-Intel 4b97da93e0 Add Benchmark Intel TDX badge 2025-10-13 13:34:04 +08:00
Chen Chengjun 07d2d1db02 Support MS_PRIVATE flag for mount 2025-10-13 13:30:06 +08:00
Chen Chengjun 2b18c893a8 Implement fixed_point module to replace the usage of fixed crate 2025-10-13 12:34:01 +08:00
Chen Chengjun d2b4664078 Add a configfs usage example in ktest 2025-10-09 17:38:08 +08:00
Chen Chengjun fc69af3e95 Support the basic configfs 2025-10-09 17:38:08 +08:00
Chen Chengjun 537f08d7cf Make the cgroup systree independent 2025-10-09 17:38:08 +08:00
Chen Chengjun 6dd4899d4a Supports multiple systree instances 2025-10-09 17:38:08 +08:00
Ruihan Li cded205535 Retire the LTP SMP blocklist 2025-10-07 11:43:02 +08:00
Ruihan Li 7319a7b173 Add wakeups after moving children 2025-10-07 11:43:02 +08:00
Ruihan Li d50155661c Lock run queues with IRQ disabled 2025-10-07 11:43:02 +08:00
Ruihan Li 56d78ab649 Fix some minor style issues 2025-10-06 14:46:23 +08:00
Ruihan Li b4f66ab379 Fix free memory value in `meminfo` 2025-10-06 14:46:23 +08:00
Ruihan Li 78ff1a689b Fix wrong formats in `{uid,gid}_map` 2025-10-06 14:46:23 +08:00
Ruize Tang 50eaffc731 Remove `RwLock.downgrade` due to potential contention with `RwLock.read` 2025-09-30 17:34:22 +08:00
jiangjianfeng d75a2481bb Support /proc/pid/uid_map and /proc/pid/gid_map 2025-09-30 16:42:54 +08:00
zjp 9e4a67879f chore: allow unexpected_cfgs `cfg(ktest)` to circumvent warnings
warning: unexpected `cfg` condition name: `ktest`
  --> ostd/src/util/ops.rs:27:7
   |
27 | #[cfg(ktest)]
   |       ^^^^^ help: there is a config with a similar name: `test`
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
2025-09-30 11:44:24 +08:00
zjp e7ef7d5947 ostd: remove dead buddy_system_allocator dependency
cc https://github.com/asterinas/asterinas/issues/2480#issuecomment-3349718870
2025-09-30 11:44:24 +08:00
Ruihan Li d43fbd8f89 Fix some `getrandom` behavior 2025-09-30 11:36:37 +08:00
Ruihan Li 36a38c3f04 Bump `rand` version to 0.9.2 2025-09-30 11:36:37 +08:00
Ruihan Li 75f95cc1da Remove some unnecessary `cfg_if` uses 2025-09-30 11:36:37 +08:00
Ruihan Li b606e3456c Don't panic if `set_child_tid` is invalid 2025-09-30 09:54:40 +08:00
Ruihan Li 6336bb9fc8 Fix races when finding the reaper 2025-09-30 09:54:40 +08:00